Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index ffc38a46b19b91146e3c3f149a9b7f955fef0a37..613198d35a0e0522b35e06273b4045ef604a804f 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.cc |
@@ -162,11 +162,11 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
DCHECK(optimization.is_simple_api_call()); |
// Abi for CallApiFunctionStub. |
- Register callee = eax; |
+ Register callee = edi; |
Register call_data = ebx; |
Register holder = ecx; |
Register api_function_address = edx; |
- Register scratch = edi; // scratch_in is no longer valid. |
+ Register scratch = eax; // scratch_in is no longer valid. |
// Put holder in place. |
CallOptimization::HolderLookup holder_lookup; |