Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index cc51777d1f5f70e0fd0b3baf3d841f42bf882252..1ae8cffad367fb8c11b6e881eaa07934e68a847a 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -685,31 +685,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, |