| Index: src/x87/builtins-x87.cc
|
| diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc
|
| index 89696f60fc03059bb615bdd0c6d4eff01b2099c2..0a80998047c85e56b9534ef9f068b8b04cf8bdc5 100644
|
| --- a/src/x87/builtins-x87.cc
|
| +++ b/src/x87/builtins-x87.cc
|
| @@ -539,6 +539,25 @@ void Builtins::Generate_JSConstructStubForDerived(MacroAssembler* masm) {
|
| __ j(greater_equal, &loop);
|
|
|
| __ inc(eax); // Pushed new.target.
|
| +
|
| +
|
| + // Handle step in.
|
| + Label skip_step_in;
|
| + ExternalReference debug_step_in_fp =
|
| + ExternalReference::debug_step_in_fp_address(masm->isolate());
|
| + __ cmp(Operand::StaticVariable(debug_step_in_fp), Immediate(0));
|
| + __ j(equal, &skip_step_in);
|
| +
|
| + __ push(eax);
|
| + __ push(edi);
|
| + __ push(edi);
|
| + __ CallRuntime(Runtime::kHandleStepInForDerivedConstructors, 1);
|
| + __ pop(edi);
|
| + __ pop(eax);
|
| +
|
| + __ bind(&skip_step_in);
|
| +
|
| + // Invoke function.
|
| ParameterCount actual(eax);
|
| __ InvokeFunction(edi, actual, CALL_FUNCTION, NullCallWrapper());
|
|
|
|
|