Index: src/ic/mips/handler-compiler-mips.cc |
diff --git a/src/ic/mips/handler-compiler-mips.cc b/src/ic/mips/handler-compiler-mips.cc |
index c27e35c04d371bf801f40608dbc487643ed1fe3f..0cbaf1390c2293aabd24c179c6bbcd973fc566af 100644 |
--- a/src/ic/mips/handler-compiler-mips.cc |
+++ b/src/ic/mips/handler-compiler-mips.cc |
@@ -679,7 +679,7 @@ void NamedLoadHandlerCompiler::GenerateLoadCallback( |
__ mov(a2, scratch2()); // Saved in case scratch2 == a1. |
// Abi for CallApiGetter. |
- Register getter_address_reg = a2; |
+ Register getter_address_reg = ApiGetterDescriptor::function_address(); |
Address getter_address = v8::ToCData<Address>(callback->getter()); |
ApiFunction fun(getter_address); |