Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index 90d7480bbc49f0f99c384506bc671217aa02cefe..6c1fbf8b79da31f333fa2e48776bc498e08e060b 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -341,7 +341,8 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
__ call(code, RelocInfo::CODE_TARGET); |
} else { |
ParameterCount actual(eax); |
- __ InvokeFunction(edi, edx, actual, CALL_FUNCTION, NullCallWrapper()); |
+ __ InvokeFunction(edi, edx, actual, CALL_FUNCTION, |
+ CheckDebugStepCallWrapper()); |
} |
// Store offset of return address for deoptimizer. |
@@ -1545,9 +1546,8 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ SmiUntag(ebx); |
ParameterCount actual(eax); |
ParameterCount expected(ebx); |
- __ InvokeCode(FieldOperand(edi, JSFunction::kCodeEntryOffset), no_reg, |
- expected, actual, JUMP_FUNCTION, NullCallWrapper()); |
- |
+ __ InvokeFunctionCode(edi, no_reg, expected, actual, JUMP_FUNCTION, |
+ CheckDebugStepCallWrapper()); |
// The function is a "classConstructor", need to raise an exception. |
__ bind(&class_constructor); |
{ |