OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |