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 fd779444d506ff36e68c10c37a6e364c8becfca4..815a5d01d08dda8191b6248ee7c6ac2f321eaafc 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.cc |
@@ -665,7 +665,7 @@ void NamedLoadHandlerCompiler::GenerateLoadCallback( |
__ push(scratch3()); // Restore return address. |
// Abi for CallApiGetter |
- Register getter_address = edx; |
+ Register getter_address = ApiGetterDescriptor::function_address(); |
Address function_address = v8::ToCData<Address>(callback->getter()); |
__ mov(getter_address, Immediate(function_address)); |