diff --git a/src/ic/mips/handler-compiler-mips.cc b/src/ic/mips/handler-compiler-mips.cc index b02179b4a3..6e2903d428 100644 --- a/src/ic/mips/handler-compiler-mips.cc +++ b/src/ic/mips/handler-compiler-mips.cc @@ -254,7 +254,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( Register api_function_address = a1; // Put callee in place. - __ LoadAccessor(callee, holder, accessor_index, + __ LoadAccessor(callee, accessor_holder, accessor_index, is_store ? ACCESSOR_SETTER : ACCESSOR_GETTER); // Put holder in place. diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc index 5e7814c815..65f0902377 100644 --- a/src/ic/mips64/handler-compiler-mips64.cc +++ b/src/ic/mips64/handler-compiler-mips64.cc @@ -255,7 +255,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( Register api_function_address = a1; // Put callee in place. - __ LoadAccessor(callee, holder, accessor_index, + __ LoadAccessor(callee, accessor_holder, accessor_index, is_store ? ACCESSOR_SETTER : ACCESSOR_GETTER); // Put holder in place.