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 2cf0e95383528296ccdd8a80c6e1956d5fae6714..b924bdad786ad8e9f6a6b0d47c4c5c8356093d92 100644 |
--- a/src/ic/mips/handler-compiler-mips.cc |
+++ b/src/ic/mips/handler-compiler-mips.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(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. |