Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: src/builtins/x87/builtins-x87.cc

Issue 2475203003: [compiler] Remove --ignition-preserve-bytecode flag. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/compiler.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698