Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 3a537a0ddd7cc2ea3ad5016f1976117798df4938..4185972079f1554a7fe6c7489f61fbf15953ff30 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -576,7 +576,8 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
__ Call(code, RelocInfo::CODE_TARGET); |
} else { |
ParameterCount actual(a0); |
- __ InvokeFunction(a1, a3, actual, CALL_FUNCTION, NullCallWrapper()); |
+ __ InvokeFunction(a1, a3, actual, CALL_FUNCTION, |
+ CheckDebugStepCallWrapper()); |
} |
// Store offset of return address for deoptimizer. |
@@ -1698,10 +1699,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ lw(a2, |
FieldMemOperand(a2, SharedFunctionInfo::kFormalParameterCountOffset)); |
__ sra(a2, a2, kSmiTagSize); // Un-tag. |
- __ lw(t0, FieldMemOperand(a1, JSFunction::kCodeEntryOffset)); |
ParameterCount actual(a0); |
ParameterCount expected(a2); |
- __ InvokeCode(t0, no_reg, expected, actual, JUMP_FUNCTION, NullCallWrapper()); |
+ __ InvokeFunctionCode(a1, no_reg, expected, actual, JUMP_FUNCTION, |
+ CheckDebugStepCallWrapper()); |
// The function is a "classConstructor", need to raise an exception. |
__ bind(&class_constructor); |