| Index: src/ia32/builtins-ia32.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc
|
| index fa3e50b039d7accaa160a1604a823e7dd22a794c..a2018613e06031f33c0a8b08c2d5fadcf80fe08c 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.
|
| @@ -1543,9 +1544,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);
|
| {
|
|
|