| 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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
| 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 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1360 __ Jump(entry); | 1360 __ Jump(entry); |
| 1361 | 1361 |
| 1362 __ bind(&gotta_call_runtime); | 1362 __ bind(&gotta_call_runtime); |
| 1363 __ pop(closure); | 1363 __ pop(closure); |
| 1364 __ pop(new_target); | 1364 __ pop(new_target); |
| 1365 __ pop(argument_count); | 1365 __ pop(argument_count); |
| 1366 __ bind(&gotta_call_runtime_no_stack); | 1366 __ bind(&gotta_call_runtime_no_stack); |
| 1367 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); | 1367 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); |
| 1368 } | 1368 } |
| 1369 | 1369 |
| 1370 void Builtins::Generate_CompileBaseline(MacroAssembler* masm) { |
| 1371 GenerateTailCallToReturnedCode(masm, Runtime::kCompileBaseline); |
| 1372 } |
| 1370 | 1373 |
| 1371 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { | 1374 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { |
| 1372 GenerateTailCallToReturnedCode(masm, | 1375 GenerateTailCallToReturnedCode(masm, |
| 1373 Runtime::kCompileOptimized_NotConcurrent); | 1376 Runtime::kCompileOptimized_NotConcurrent); |
| 1374 } | 1377 } |
| 1375 | 1378 |
| 1376 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { | 1379 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { |
| 1377 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); | 1380 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); |
| 1378 } | 1381 } |
| 1379 | 1382 |
| (...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2847 } | 2850 } |
| 2848 } | 2851 } |
| 2849 | 2852 |
| 2850 | 2853 |
| 2851 #undef __ | 2854 #undef __ |
| 2852 | 2855 |
| 2853 } // namespace internal | 2856 } // namespace internal |
| 2854 } // namespace v8 | 2857 } // namespace v8 |
| 2855 | 2858 |
| 2856 #endif // V8_TARGET_ARCH_MIPS64 | 2859 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |