Index: src/ic/arm/handler-compiler-arm.cc |
diff --git a/src/ic/arm/handler-compiler-arm.cc b/src/ic/arm/handler-compiler-arm.cc |
index fb509855f23119a5eac17c400db54f0f399b9e0c..e49abf25cb37e499e1d7a15fdd38118ac12a0783 100644 |
--- a/src/ic/arm/handler-compiler-arm.cc |
+++ b/src/ic/arm/handler-compiler-arm.cc |
@@ -678,7 +678,7 @@ void NamedLoadHandlerCompiler::GenerateLoadCallback( |
__ push(name()); |
// Abi for CallApiGetter |
- Register getter_address_reg = r2; |
+ Register getter_address_reg = ApiGetterDescriptor::function_address(); |
Address getter_address = v8::ToCData<Address>(callback->getter()); |
ApiFunction fun(getter_address); |