Index: src/builtins/x87/builtins-x87.cc |
diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc |
index 38c20e32e40ab9f398331cecb944f578db876d30..a0d2650cf4f8485fd0430dc0f4b5c0f43e0ffd65 100644 |
--- a/src/builtins/x87/builtins-x87.cc |
+++ b/src/builtins/x87/builtins-x87.cc |
@@ -686,31 +686,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ jmp(ecx); |
} |
-void Builtins::Generate_InterpreterMarkBaselineOnReturn(MacroAssembler* masm) { |
- // Save the function and context for call to CompileBaseline. |
- __ mov(edi, Operand(ebp, StandardFrameConstants::kFunctionOffset)); |
- __ mov(kContextRegister, |
- Operand(ebp, StandardFrameConstants::kContextOffset)); |
- |
- // Leave the frame before recompiling for baseline so that we don't count as |
- // an activation on the stack. |
- LeaveInterpreterFrame(masm, ebx, ecx); |
- |
- { |
- FrameScope frame_scope(masm, StackFrame::INTERNAL); |
- // Push return value. |
- __ push(eax); |
- |
- // Push function as argument and compile for baseline. |
- __ push(edi); |
- __ CallRuntime(Runtime::kCompileBaseline); |
- |
- // Restore return value. |
- __ pop(eax); |
- } |
- __ ret(0); |
-} |
- |
static void Generate_StackOverflowCheck(MacroAssembler* masm, Register num_args, |
Register scratch1, Register scratch2, |
Label* stack_overflow, |