Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 5994466eb143615f34f21ad05dd72e8e81957195..2de13a0d329cfa43c0c6fb3ea601fff6cb59c75d 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -143,12 +143,6 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
// the preconditions is not met, the code bails out to the runtime call. |
Label rt_call, allocated; |
if (FLAG_inline_new) { |
- ExternalReference debug_step_in_fp = |
- ExternalReference::debug_step_in_fp_address(masm->isolate()); |
- __ Move(kScratchRegister, debug_step_in_fp); |
- __ cmpp(Operand(kScratchRegister, 0), Immediate(0)); |
- __ j(not_equal, &rt_call); |
- |
// Verify that the new target is a JSFunction. |
__ CmpObjectType(rdx, JS_FUNCTION_TYPE, rbx); |
__ j(not_equal, &rt_call); |
@@ -426,23 +420,6 @@ void Builtins::Generate_JSConstructStubForDerived(MacroAssembler* masm) { |
__ decp(rcx); |
__ j(greater_equal, &loop); |
- // Handle step in. |
- Label skip_step_in; |
- ExternalReference debug_step_in_fp = |
- ExternalReference::debug_step_in_fp_address(masm->isolate()); |
- __ Move(kScratchRegister, debug_step_in_fp); |
- __ cmpp(Operand(kScratchRegister, 0), Immediate(0)); |
- __ j(equal, &skip_step_in); |
- |
- __ Push(rax); |
- __ Push(rdi); |
- __ Push(rdi); |
- __ CallRuntime(Runtime::kHandleStepInForDerivedConstructors, 1); |
- __ Pop(rdi); |
- __ Pop(rax); |
- |
- __ bind(&skip_step_in); |
- |
// Call the function. |
ParameterCount actual(rax); |
__ InvokeFunction(rdi, actual, CALL_FUNCTION, NullCallWrapper()); |