Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 9e84aba73fe7be07f7cd3691f51fc79e1e6c65c8..151b2f106506ed08628ecabaf637ea0e6e7cdfc7 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -579,7 +579,7 @@ |
} else { |
ParameterCount actual(argc); |
__ InvokeFunction(constructor, new_target, actual, CALL_FUNCTION, |
- CheckDebugStepCallWrapper()); |
+ NullCallWrapper()); |
} |
// Store offset of return address for deoptimizer. |
@@ -1671,10 +1671,10 @@ |
__ Ldrsw( |
x2, FieldMemOperand(x2, SharedFunctionInfo::kFormalParameterCountOffset)); |
+ __ Ldr(x4, FieldMemOperand(x1, JSFunction::kCodeEntryOffset)); |
ParameterCount actual(x0); |
ParameterCount expected(x2); |
- __ InvokeFunctionCode(x1, no_reg, expected, actual, JUMP_FUNCTION, |
- CheckDebugStepCallWrapper()); |
+ __ InvokeCode(x4, no_reg, expected, actual, JUMP_FUNCTION, NullCallWrapper()); |
// The function is a "classConstructor", need to raise an exception. |
__ bind(&class_constructor); |