| 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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
| 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 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1371 __ Jump(entry); | 1371 __ Jump(entry); |
| 1372 | 1372 |
| 1373 __ bind(&gotta_call_runtime); | 1373 __ bind(&gotta_call_runtime); |
| 1374 __ pop(closure); | 1374 __ pop(closure); |
| 1375 __ pop(new_target); | 1375 __ pop(new_target); |
| 1376 __ pop(argument_count); | 1376 __ pop(argument_count); |
| 1377 __ bind(&gotta_call_runtime_no_stack); | 1377 __ bind(&gotta_call_runtime_no_stack); |
| 1378 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); | 1378 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); |
| 1379 } | 1379 } |
| 1380 | 1380 |
| 1381 void Builtins::Generate_CompileBaseline(MacroAssembler* masm) { |
| 1382 GenerateTailCallToReturnedCode(masm, Runtime::kCompileBaseline); |
| 1383 } |
| 1381 | 1384 |
| 1382 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { | 1385 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { |
| 1383 GenerateTailCallToReturnedCode(masm, | 1386 GenerateTailCallToReturnedCode(masm, |
| 1384 Runtime::kCompileOptimized_NotConcurrent); | 1387 Runtime::kCompileOptimized_NotConcurrent); |
| 1385 } | 1388 } |
| 1386 | 1389 |
| 1387 | 1390 |
| 1388 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { | 1391 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { |
| 1389 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); | 1392 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); |
| 1390 } | 1393 } |
| (...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2857 } | 2860 } |
| 2858 } | 2861 } |
| 2859 | 2862 |
| 2860 | 2863 |
| 2861 #undef __ | 2864 #undef __ |
| 2862 | 2865 |
| 2863 } // namespace internal | 2866 } // namespace internal |
| 2864 } // namespace v8 | 2867 } // namespace v8 |
| 2865 | 2868 |
| 2866 #endif // V8_TARGET_ARCH_MIPS | 2869 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |