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