Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 2553) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -505,10 +505,17 @@ |
__ mov(scratch1, Operand(lookup_hint)); |
__ push(scratch1); |
+ InterceptorInfo* interceptor = holder->GetNamedInterceptor(); |
+ ASSERT(!Heap::InNewSpace(interceptor)); |
+ __ mov(scratch1, Operand(Handle<Object>(interceptor))); |
+ __ push(scratch1); |
+ __ ldr(scratch2, FieldMemOperand(scratch1, InterceptorInfo::kDataOffset)); |
+ __ push(scratch2); |
+ |
// Do tail-call to the runtime system. |
ExternalReference load_ic_property = |
ExternalReference(IC_Utility(IC::kLoadInterceptorProperty)); |
- __ TailCallRuntime(load_ic_property, 4); |
+ __ TailCallRuntime(load_ic_property, 6); |
} |