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

Side by Side Diff: src/x64/builtins-x64.cc

Issue 547293004: Rename Runtime_CompileUnoptimized to Runtime_CompileLazy, because that is what it does. Split Compi… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/runtime.cc ('k') | src/x87/builtins-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { 602 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) {
603 Generate_JSEntryTrampolineHelper(masm, false); 603 Generate_JSEntryTrampolineHelper(masm, false);
604 } 604 }
605 605
606 606
607 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { 607 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) {
608 Generate_JSEntryTrampolineHelper(masm, true); 608 Generate_JSEntryTrampolineHelper(masm, true);
609 } 609 }
610 610
611 611
612 void Builtins::Generate_CompileUnoptimized(MacroAssembler* masm) { 612 void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
613 CallRuntimePassFunction(masm, Runtime::kCompileUnoptimized); 613 CallRuntimePassFunction(masm, Runtime::kCompileLazy);
614 GenerateTailCallToReturnedCode(masm); 614 GenerateTailCallToReturnedCode(masm);
615 } 615 }
616 616
617 617
618 static void CallCompileOptimized(MacroAssembler* masm, 618 static void CallCompileOptimized(MacroAssembler* masm,
619 bool concurrent) { 619 bool concurrent) {
620 FrameScope scope(masm, StackFrame::INTERNAL); 620 FrameScope scope(masm, StackFrame::INTERNAL);
621 // Push a copy of the function onto the stack. 621 // Push a copy of the function onto the stack.
622 __ Push(rdi); 622 __ Push(rdi);
623 // Function is also the parameter to the runtime call. 623 // Function is also the parameter to the runtime call.
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1517 __ bind(&ok); 1517 __ bind(&ok);
1518 __ ret(0); 1518 __ ret(0);
1519 } 1519 }
1520 1520
1521 1521
1522 #undef __ 1522 #undef __
1523 1523
1524 } } // namespace v8::internal 1524 } } // namespace v8::internal
1525 1525
1526 #endif // V8_TARGET_ARCH_X64 1526 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/x87/builtins-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698