Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index abf2f643cd3872a12056da27f038b2c1de8194fb..bbffef22da54a69541a91a11dd7ab3c62bdb92c7 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -396,15 +396,14 @@ static void PushInterceptorArguments(MacroAssembler* masm, |
Register holder, |
Register name, |
JSObject* holder_obj) { |
- __ push(receiver); |
- __ push(holder); |
__ push(name); |
InterceptorInfo* interceptor = holder_obj->GetNamedInterceptor(); |
ASSERT(!Heap::InNewSpace(interceptor)); |
- |
- Register scratch = receiver; |
+ Register scratch = name; |
__ mov(scratch, Operand(Handle<Object>(interceptor))); |
__ push(scratch); |
+ __ push(receiver); |
+ __ push(holder); |
__ ldr(scratch, FieldMemOperand(scratch, InterceptorInfo::kDataOffset)); |
__ push(scratch); |
} |