Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index aacdc129bfac074bec2b3014148206bce44a202c..c96722fafedd2a0d4ba502f78202f5041d2baed6 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. |
@@ -1700,10 +1701,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); |