| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 80d99d8b689f704ce475f3d96a2978ae2e339631..604f9925ea92ffc7cd1bdad481413a5e326d7ace 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1721,17 +1721,35 @@ class AllowStubCallsScope {
|
| };
|
|
|
|
|
| -class KeyedLoadDictionaryElementStub : public PlatformCodeStub {
|
| +class KeyedLoadDictionaryElementStub : public HydrogenCodeStub {
|
| public:
|
| KeyedLoadDictionaryElementStub() {}
|
|
|
| + virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE;
|
| +
|
| + virtual void InitializeInterfaceDescriptor(
|
| + Isolate* isolate,
|
| + CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE;
|
| +
|
| + private:
|
| + Major MajorKey() { return KeyedLoadElement; }
|
| + int NotMissMinorKey() { return DICTIONARY_ELEMENTS; }
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(KeyedLoadDictionaryElementStub);
|
| +};
|
| +
|
| +
|
| +class KeyedLoadDictionaryElementPlatformStub : public PlatformCodeStub {
|
| + public:
|
| + KeyedLoadDictionaryElementPlatformStub() {}
|
| +
|
| void Generate(MacroAssembler* masm);
|
|
|
| private:
|
| Major MajorKey() { return KeyedLoadElement; }
|
| int MinorKey() { return DICTIONARY_ELEMENTS; }
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(KeyedLoadDictionaryElementStub);
|
| + DISALLOW_COPY_AND_ASSIGN(KeyedLoadDictionaryElementPlatformStub);
|
| };
|
|
|
|
|
|
|