| Index: src/ia32/builtins-ia32.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc
|
| index 5383ad9ffb5e99eedd571f6f2d37ac2bba34adb5..3762be8d784d1a0596276bc7f099e6e5f34d3fae 100644
|
| --- a/src/ia32/builtins-ia32.cc
|
| +++ b/src/ia32/builtins-ia32.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);
|
| {
|
|
|