| 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_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/debug.h" | 10 #include "src/debug.h" |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { | 800 void Builtins::Generate_JSEntryTrampoline(MacroAssembler* masm) { |
| 801 Generate_JSEntryTrampolineHelper(masm, false); | 801 Generate_JSEntryTrampolineHelper(masm, false); |
| 802 } | 802 } |
| 803 | 803 |
| 804 | 804 |
| 805 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { | 805 void Builtins::Generate_JSConstructEntryTrampoline(MacroAssembler* masm) { |
| 806 Generate_JSEntryTrampolineHelper(masm, true); | 806 Generate_JSEntryTrampolineHelper(masm, true); |
| 807 } | 807 } |
| 808 | 808 |
| 809 | 809 |
| 810 void Builtins::Generate_CompileUnoptimized(MacroAssembler* masm) { | 810 void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
| 811 CallRuntimePassFunction(masm, Runtime::kCompileUnoptimized); | 811 CallRuntimePassFunction(masm, Runtime::kCompileLazy); |
| 812 GenerateTailCallToReturnedCode(masm); | 812 GenerateTailCallToReturnedCode(masm); |
| 813 } | 813 } |
| 814 | 814 |
| 815 | 815 |
| 816 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { | 816 static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) { |
| 817 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); | 817 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
| 818 // Push a copy of the function onto the stack. | 818 // Push a copy of the function onto the stack. |
| 819 __ push(r1); | 819 __ push(r1); |
| 820 // Push function as parameter to the runtime call. | 820 // Push function as parameter to the runtime call. |
| 821 __ Push(r1); | 821 __ Push(r1); |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1544 __ bkpt(0); | 1544 __ bkpt(0); |
| 1545 } | 1545 } |
| 1546 } | 1546 } |
| 1547 | 1547 |
| 1548 | 1548 |
| 1549 #undef __ | 1549 #undef __ |
| 1550 | 1550 |
| 1551 } } // namespace v8::internal | 1551 } } // namespace v8::internal |
| 1552 | 1552 |
| 1553 #endif // V8_TARGET_ARCH_ARM | 1553 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |