| Index: runtime/vm/dart_entry.cc
|
| ===================================================================
|
| --- runtime/vm/dart_entry.cc (revision 15847)
|
| +++ runtime/vm/dart_entry.cc (working copy)
|
| @@ -134,12 +134,12 @@
|
| }
|
|
|
|
|
| -RawString* ArgumentsDescriptor::NameAt(intptr_t index) const {
|
| - String& result = String::Handle();
|
| - result ^= array_.At(kFirstNamedEntryIndex +
|
| - (index * kNamedEntrySize) +
|
| - kNameOffset);
|
| - return result.raw();
|
| +bool ArgumentsDescriptor::MatchesNameAt(intptr_t index,
|
| + const String& other) const {
|
| + const intptr_t offset = kFirstNamedEntryIndex +
|
| + (index * kNamedEntrySize) +
|
| + kNameOffset;
|
| + return array_.At(offset) == other.raw();
|
| }
|
|
|
|
|
|
|