| 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 b5e7d42e57c6e377b1ac951580992d4d16cc38ab..52260ee754e5b585253e3c63a3039d00d46b3392 100644
|
| --- a/src/ic/mips64/handler-compiler-mips64.cc
|
| +++ b/src/ic/mips64/handler-compiler-mips64.cc
|
| @@ -43,11 +43,11 @@ void NamedLoadHandlerCompiler::GenerateLoadViaGetter(
|
| receiver = scratch;
|
| }
|
| __ push(receiver);
|
| - ParameterCount actual(0);
|
| - ParameterCount expected(expected_arguments);
|
| __ LoadAccessor(a1, holder, accessor_index, ACCESSOR_GETTER);
|
| - __ InvokeFunction(a1, expected, actual, CALL_FUNCTION,
|
| - CheckDebugStepCallWrapper());
|
| + __ li(a0, Operand(V8_INT64_C(0)));
|
| + __ Call(masm->isolate()->builtins()->CallFunction(
|
| + ConvertReceiverMode::kNotNullOrUndefined),
|
| + RelocInfo::CODE_TARGET);
|
| } else {
|
| // If we generate a global code snippet for deoptimization only, remember
|
| // the place to continue after deoptimization.
|
| @@ -85,11 +85,11 @@ void NamedStoreHandlerCompiler::GenerateStoreViaSetter(
|
| receiver = scratch;
|
| }
|
| __ Push(receiver, value());
|
| - ParameterCount actual(1);
|
| - ParameterCount expected(expected_arguments);
|
| __ LoadAccessor(a1, holder, accessor_index, ACCESSOR_SETTER);
|
| - __ InvokeFunction(a1, expected, actual, CALL_FUNCTION,
|
| - CheckDebugStepCallWrapper());
|
| + __ li(a0, Operand(1));
|
| + __ Call(masm->isolate()->builtins()->CallFunction(
|
| + ConvertReceiverMode::kNotNullOrUndefined),
|
| + RelocInfo::CODE_TARGET);
|
| } else {
|
| // If we generate a global code snippet for deoptimization only, remember
|
| // the place to continue after deoptimization.
|
|
|