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 | 5 |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { | 817 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { |
818 Generate_JSEntryTrampolineHelper(masm, false); | 818 Generate_JSEntryTrampolineHelper(masm, false); |
819 } | 819 } |
820 | 820 |
821 | 821 |
822 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { | 822 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { |
823 Generate_JSEntryTrampolineHelper(masm, true); | 823 Generate_JSEntryTrampolineHelper(masm, true); |
824 } | 824 } |
825 | 825 |
826 | 826 |
827 void Builtins::Generate_CompileUnoptimized(MacroAssembler* masm) { | 827 void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
828 CallRuntimePassFunction(masm, Runtime::kCompileUnoptimized); | 828 CallRuntimePassFunction(masm, Runtime::kCompileLazy); |
829 GenerateTailCallToReturnedCode(masm); | 829 GenerateTailCallToReturnedCode(masm); |
830 } | 830 } |
831 | 831 |
832 | 832 |
833 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { | 833 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { |
834 FrameScope scope(masm, StackFrame::INTERNAL); | 834 FrameScope scope(masm, StackFrame::INTERNAL); |
835 // Push a copy of the function onto the stack. | 835 // Push a copy of the function onto the stack. |
836 // Push function as parameter to the runtime call. | 836 // Push function as parameter to the runtime call. |
837 __ Push(a1, a1); | 837 __ Push(a1, a1); |
838 // Whether to compile in a background thread. | 838 // Whether to compile in a background thread. |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 __ break_(0xCC); | 1572 __ break_(0xCC); |
1573 } | 1573 } |
1574 } | 1574 } |
1575 | 1575 |
1576 | 1576 |
1577 #undef __ | 1577 #undef __ |
1578 | 1578 |
1579 } } // namespace v8::internal | 1579 } } // namespace v8::internal |
1580 | 1580 |
1581 #endif // V8_TARGET_ARCH_MIPS | 1581 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |