Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 81f89fd4bc19972ecf686123e2d45cfd15848871..16acc74ddfb110d30050714f3f72d0adafae08bf 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -920,6 +920,13 @@ Object* StoreInterceptorProperty(Arguments args) { |
} |
+Object* KeyedLoadPropertyWithInterceptor(Arguments args) { |
+ JSObject* receiver = JSObject::cast(args[0]); |
+ uint32_t index = Smi::cast(args[1])->value(); |
+ return receiver->GetElementWithInterceptor(receiver, index); |
+} |
+ |
+ |
Object* StubCompiler::CompileCallInitialize(Code::Flags flags) { |
HandleScope scope; |
int argc = Code::ExtractArgumentsCountFromFlags(flags); |