| 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_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
| 10 | 10 |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { | 832 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { |
| 833 Generate_JSEntryTrampolineHelper(masm, false); | 833 Generate_JSEntryTrampolineHelper(masm, false); |
| 834 } | 834 } |
| 835 | 835 |
| 836 | 836 |
| 837 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { | 837 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { |
| 838 Generate_JSEntryTrampolineHelper(masm, true); | 838 Generate_JSEntryTrampolineHelper(masm, true); |
| 839 } | 839 } |
| 840 | 840 |
| 841 | 841 |
| 842 void Builtins::Generate_CompileUnoptimized(MacroAssembler* masm) { | 842 void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
| 843 CallRuntimePassFunction(masm, Runtime::kCompileUnoptimized); | 843 CallRuntimePassFunction(masm, Runtime::kCompileLazy); |
| 844 GenerateTailCallToReturnedCode(masm); | 844 GenerateTailCallToReturnedCode(masm); |
| 845 } | 845 } |
| 846 | 846 |
| 847 | 847 |
| 848 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { | 848 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { |
| 849 FrameScope scope(masm, StackFrame::INTERNAL); | 849 FrameScope scope(masm, StackFrame::INTERNAL); |
| 850 // Push a copy of the function onto the stack. | 850 // Push a copy of the function onto the stack. |
| 851 // Push function as parameter to the runtime call. | 851 // Push function as parameter to the runtime call. |
| 852 __ Push(a1, a1); | 852 __ Push(a1, a1); |
| 853 // Whether to compile in a background thread. | 853 // Whether to compile in a background thread. |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1587 __ break_(0xCC); | 1587 __ break_(0xCC); |
| 1588 } | 1588 } |
| 1589 } | 1589 } |
| 1590 | 1590 |
| 1591 | 1591 |
| 1592 #undef __ | 1592 #undef __ |
| 1593 | 1593 |
| 1594 } } // namespace v8::internal | 1594 } } // namespace v8::internal |
| 1595 | 1595 |
| 1596 #endif // V8_TARGET_ARCH_MIPS64 | 1596 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |