Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 9c933cb2229aa8a0f1b98762f353e1b4f034bbe3..e22bb59a4d7d155bd2ed2887da29277ef0ab03d3 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -332,8 +332,7 @@ |
__ Call(code, RelocInfo::CODE_TARGET); |
} else { |
ParameterCount actual(rax); |
- __ InvokeFunction(rdi, rdx, actual, CALL_FUNCTION, |
- CheckDebugStepCallWrapper()); |
+ __ InvokeFunction(rdi, rdx, actual, CALL_FUNCTION, NullCallWrapper()); |
} |
// Store offset of return address for deoptimizer. |
@@ -1734,11 +1733,10 @@ |
__ LoadSharedFunctionInfoSpecialField( |
rbx, rdx, SharedFunctionInfo::kFormalParameterCountOffset); |
+ __ movp(r8, FieldOperand(rdi, JSFunction::kCodeEntryOffset)); |
ParameterCount actual(rax); |
ParameterCount expected(rbx); |
- |
- __ InvokeFunctionCode(rdi, no_reg, expected, actual, JUMP_FUNCTION, |
- CheckDebugStepCallWrapper()); |
+ __ InvokeCode(r8, no_reg, expected, actual, JUMP_FUNCTION, NullCallWrapper()); |
// The function is a "classConstructor", need to raise an exception. |
__ bind(&class_constructor); |