Index: src/ic/mips64/handler-compiler-mips64.cc |
diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc |
index 6d76113a2abdc86d08a37eb7be5d330d559accfe..231e71571092c1d92390beb9de7f04e41c01b553 100644 |
--- a/src/ic/mips64/handler-compiler-mips64.cc |
+++ b/src/ic/mips64/handler-compiler-mips64.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); |