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

Unified Diff: src/builtins/x64/builtins-x64.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/x64/builtins-x64.cc
diff --git a/src/builtins/x64/builtins-x64.cc b/src/builtins/x64/builtins-x64.cc
index 0b0cf0d974e59d013b84a03ac12f01c08a8bc958..f4367871b7e81e8b4aa0f49c67d8e4c8f9877ec0 100644
--- a/src/builtins/x64/builtins-x64.cc
+++ b/src/builtins/x64/builtins-x64.cc
@@ -766,31 +766,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
__ jmp(rcx);
}
-void Builtins::Generate_InterpreterMarkBaselineOnReturn(MacroAssembler* masm) {
- // Save the function and context for call to CompileBaseline.
- __ movp(rdi, Operand(rbp, StandardFrameConstants::kFunctionOffset));
- __ movp(kContextRegister,
- Operand(rbp, StandardFrameConstants::kContextOffset));
-
- // Leave the frame before recompiling for baseline so that we don't count as
- // an activation on the stack.
- LeaveInterpreterFrame(masm, rbx, rcx);
-
- {
- FrameScope frame_scope(masm, StackFrame::INTERNAL);
- // Push return value.
- __ Push(rax);
-
- // Push function as argument and compile for baseline.
- __ Push(rdi);
- __ CallRuntime(Runtime::kCompileBaseline);
-
- // Restore return value.
- __ Pop(rax);
- }
- __ ret(0);
-}
-
static void Generate_StackOverflowCheck(MacroAssembler* masm, Register num_args,
Register scratch1, Register scratch2,
Label* stack_overflow) {

Powered by Google App Engine
This is Rietveld 408576698