| Index: src/arm/code-stubs-arm.h
|
| diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h
|
| index de2f32fb7f5309f0b5a21cd9a5b18b1258de7823..33ba2bed6e761f7e4a7b578186d6dd952e77b042 100644
|
| --- a/src/arm/code-stubs-arm.h
|
| +++ b/src/arm/code-stubs-arm.h
|
| @@ -745,11 +745,11 @@ class FloatingPointHelper : public AllStatic {
|
| };
|
|
|
|
|
| -class StringDictionaryLookupStub: public PlatformCodeStub {
|
| +class NameDictionaryLookupStub: public PlatformCodeStub {
|
| public:
|
| enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP };
|
|
|
| - explicit StringDictionaryLookupStub(LookupMode mode) : mode_(mode) { }
|
| + explicit NameDictionaryLookupStub(LookupMode mode) : mode_(mode) { }
|
|
|
| void Generate(MacroAssembler* masm);
|
|
|
| @@ -758,7 +758,7 @@ class StringDictionaryLookupStub: public PlatformCodeStub {
|
| Label* done,
|
| Register receiver,
|
| Register properties,
|
| - Handle<String> name,
|
| + Handle<Name> name,
|
| Register scratch0);
|
|
|
| static void GeneratePositiveLookup(MacroAssembler* masm,
|
| @@ -776,14 +776,14 @@ class StringDictionaryLookupStub: public PlatformCodeStub {
|
| static const int kTotalProbes = 20;
|
|
|
| static const int kCapacityOffset =
|
| - StringDictionary::kHeaderSize +
|
| - StringDictionary::kCapacityIndex * kPointerSize;
|
| + NameDictionary::kHeaderSize +
|
| + NameDictionary::kCapacityIndex * kPointerSize;
|
|
|
| static const int kElementsStartOffset =
|
| - StringDictionary::kHeaderSize +
|
| - StringDictionary::kElementsStartIndex * kPointerSize;
|
| + NameDictionary::kHeaderSize +
|
| + NameDictionary::kElementsStartIndex * kPointerSize;
|
|
|
| - Major MajorKey() { return StringDictionaryLookup; }
|
| + Major MajorKey() { return NameDictionaryLookup; }
|
|
|
| int MinorKey() {
|
| return LookupModeBits::encode(mode_);
|
|
|