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

Side by Side Diff: src/ia32/builtins-ia32.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/heap/mark-compact.cc ('k') | src/log.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_IA32 7 #if V8_TARGET_ARCH_IA32
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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { 543 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) {
544 Generate_JSEntryTrampolineHelper(masm, false); 544 Generate_JSEntryTrampolineHelper(masm, false);
545 } 545 }
546 546
547 547
548 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { 548 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) {
549 Generate_JSEntryTrampolineHelper(masm, true); 549 Generate_JSEntryTrampolineHelper(masm, true);
550 } 550 }
551 551
552 552
553 void Builtins::Generate_CompileUnoptimized(MacroAssembler* masm) { 553 void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
554 CallRuntimePassFunction(masm, Runtime::kCompileUnoptimized); 554 CallRuntimePassFunction(masm, Runtime::kCompileLazy);
555 GenerateTailCallToReturnedCode(masm); 555 GenerateTailCallToReturnedCode(masm);
556 } 556 }
557 557
558 558
559 559
560 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { 560 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) {
561 FrameScope scope(masm, StackFrame::INTERNAL); 561 FrameScope scope(masm, StackFrame::INTERNAL);
562 // Push a copy of the function. 562 // Push a copy of the function.
563 __ push(edi); 563 __ push(edi);
564 // Function is also the parameter to the runtime call. 564 // Function is also the parameter to the runtime call.
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 1449
1450 __ bind(&ok); 1450 __ bind(&ok);
1451 __ ret(0); 1451 __ ret(0);
1452 } 1452 }
1453 1453
1454 #undef __ 1454 #undef __
1455 } 1455 }
1456 } // namespace v8::internal 1456 } // namespace v8::internal
1457 1457
1458 #endif // V8_TARGET_ARCH_IA32 1458 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698