OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { | 773 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { |
774 Generate_JSEntryTrampolineHelper(masm, false); | 774 Generate_JSEntryTrampolineHelper(masm, false); |
775 } | 775 } |
776 | 776 |
777 | 777 |
778 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { | 778 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { |
779 Generate_JSEntryTrampolineHelper(masm, true); | 779 Generate_JSEntryTrampolineHelper(masm, true); |
780 } | 780 } |
781 | 781 |
782 | 782 |
783 void Builtins::Generate_CompileUnoptimized(MacroAssembler* masm) { | 783 void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
784 CallRuntimePassFunction(masm, Runtime::kCompileUnoptimized); | 784 CallRuntimePassFunction(masm, Runtime::kCompileLazy); |
785 GenerateTailCallToReturnedCode(masm); | 785 GenerateTailCallToReturnedCode(masm); |
786 } | 786 } |
787 | 787 |
788 | 788 |
789 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { | 789 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { |
790 FrameScope scope(masm, StackFrame::INTERNAL); | 790 FrameScope scope(masm, StackFrame::INTERNAL); |
791 Register function = x1; | 791 Register function = x1; |
792 | 792 |
793 // Preserve function. At the same time, push arguments for | 793 // Preserve function. At the same time, push arguments for |
794 // kCompileOptimized. | 794 // kCompileOptimized. |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1555 __ Unreachable(); | 1555 __ Unreachable(); |
1556 } | 1556 } |
1557 } | 1557 } |
1558 | 1558 |
1559 | 1559 |
1560 #undef __ | 1560 #undef __ |
1561 | 1561 |
1562 } } // namespace v8::internal | 1562 } } // namespace v8::internal |
1563 | 1563 |
1564 #endif // V8_TARGET_ARCH_ARM | 1564 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |