| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index c0eb16ea64e151e032d8e461cafc816e6bc2708b..f9016f180b5b2aee5d33f7cbd4aec6607a23b1fb 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -38,6 +38,7 @@ namespace internal {
|
| V(JSEntry) \
|
| V(KeyedLoadICTrampoline) \
|
| V(LoadICTrampoline) \
|
| + V(LoadIndexedInterceptor) \
|
| V(MathPow) \
|
| V(ProfileEntryHook) \
|
| V(RecordWrite) \
|
| @@ -857,6 +858,20 @@ class FunctionPrototypeStub : public PlatformCodeStub {
|
| };
|
|
|
|
|
| +// TODO(mvstanton): Translate to hydrogen code stub.
|
| +class LoadIndexedInterceptorStub : public PlatformCodeStub {
|
| + public:
|
| + explicit LoadIndexedInterceptorStub(Isolate* isolate)
|
| + : PlatformCodeStub(isolate) {}
|
| +
|
| + virtual Code::Kind GetCodeKind() const { return Code::HANDLER; }
|
| + virtual Code::StubType GetStubType() { return Code::FAST; }
|
| +
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(Load);
|
| + DEFINE_PLATFORM_CODE_STUB(LoadIndexedInterceptor, PlatformCodeStub);
|
| +};
|
| +
|
| +
|
| class HandlerStub : public HydrogenCodeStub {
|
| public:
|
| virtual Code::Kind GetCodeKind() const { return Code::HANDLER; }
|
|
|