| 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 #if V8_TARGET_ARCH_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 6 | 6 |
| 7 #include "src/codegen.h" | 7 #include "src/codegen.h" |
| 8 #include "src/debug/debug.h" | 8 #include "src/debug/debug.h" |
| 9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
| 10 #include "src/full-codegen/full-codegen.h" | 10 #include "src/full-codegen/full-codegen.h" |
| (...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 __ Jump(entry); | 1378 __ Jump(entry); |
| 1379 | 1379 |
| 1380 __ bind(&gotta_call_runtime); | 1380 __ bind(&gotta_call_runtime); |
| 1381 __ pop(closure); | 1381 __ pop(closure); |
| 1382 __ pop(new_target); | 1382 __ pop(new_target); |
| 1383 __ pop(argument_count); | 1383 __ pop(argument_count); |
| 1384 __ bind(&gotta_call_runtime_no_stack); | 1384 __ bind(&gotta_call_runtime_no_stack); |
| 1385 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); | 1385 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); |
| 1386 } | 1386 } |
| 1387 | 1387 |
| 1388 void Builtins::Generate_CompileBaseline(MacroAssembler* masm) { |
| 1389 GenerateTailCallToReturnedCode(masm, Runtime::kCompileBaseline); |
| 1390 } |
| 1388 | 1391 |
| 1389 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { | 1392 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { |
| 1390 GenerateTailCallToReturnedCode(masm, | 1393 GenerateTailCallToReturnedCode(masm, |
| 1391 Runtime::kCompileOptimized_NotConcurrent); | 1394 Runtime::kCompileOptimized_NotConcurrent); |
| 1392 } | 1395 } |
| 1393 | 1396 |
| 1394 | 1397 |
| 1395 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { | 1398 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { |
| 1396 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); | 1399 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); |
| 1397 } | 1400 } |
| (...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2774 } | 2777 } |
| 2775 } | 2778 } |
| 2776 | 2779 |
| 2777 | 2780 |
| 2778 #undef __ | 2781 #undef __ |
| 2779 | 2782 |
| 2780 } // namespace internal | 2783 } // namespace internal |
| 2781 } // namespace v8 | 2784 } // namespace v8 |
| 2782 | 2785 |
| 2783 #endif // V8_TARGET_ARCH_ARM | 2786 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |