Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index a522388c53d736915a23938c8dea58e3b5449165..2e70e7d26c6cfdcb5264d2f059391c89b81c4dd2 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -570,8 +570,7 @@ |
__ Call(code, RelocInfo::CODE_TARGET); |
} else { |
ParameterCount actual(r0); |
- __ InvokeFunction(r1, r3, actual, CALL_FUNCTION, |
- CheckDebugStepCallWrapper()); |
+ __ InvokeFunction(r1, r3, actual, CALL_FUNCTION, NullCallWrapper()); |
} |
// Store offset of return address for deoptimizer. |
@@ -1684,10 +1683,10 @@ |
__ ldr(r2, |
FieldMemOperand(r2, SharedFunctionInfo::kFormalParameterCountOffset)); |
__ SmiUntag(r2); |
+ __ ldr(r4, FieldMemOperand(r1, JSFunction::kCodeEntryOffset)); |
ParameterCount actual(r0); |
ParameterCount expected(r2); |
- __ InvokeFunctionCode(r1, no_reg, expected, actual, JUMP_FUNCTION, |
- CheckDebugStepCallWrapper()); |
+ __ InvokeCode(r4, no_reg, expected, actual, JUMP_FUNCTION, NullCallWrapper()); |
// The function is a "classConstructor", need to raise an exception. |
__ bind(&class_constructor); |