Index: src/ic/x87/handler-compiler-x87.cc |
diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc |
index 1718c1997755829092ea8a68bb2d167052651ec8..105e49af4ae61df119583f1a170baa9ae5377989 100644 |
--- a/src/ic/x87/handler-compiler-x87.cc |
+++ b/src/ic/x87/handler-compiler-x87.cc |
@@ -163,7 +163,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
DCHECK(optimization.is_simple_api_call()); |
// Abi for CallApiFunctionStub. |
- Register callee = eax; |
+ Register callee = edi; |
Register data = ebx; |
Register holder = ecx; |
Register api_function_address = edx; |