| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index e9c3e62c3e7a6aa338dcc450e448deccd84531f6..0f35eec6e54b523e3d26c9b74cc49e6ef305d735 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1839,17 +1839,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);
|
| };
|
|
|
|
|
|
|