| 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_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
| 6 | 6 |
| 7 #include "src/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/codegen.h" | 8 #include "src/codegen.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 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 | 972 |
| 973 __ bind(&gotta_call_runtime); | 973 __ bind(&gotta_call_runtime); |
| 974 __ pop(closure); | 974 __ pop(closure); |
| 975 __ pop(new_target); | 975 __ pop(new_target); |
| 976 __ pop(argument_count); | 976 __ pop(argument_count); |
| 977 __ bind(&gotta_call_runtime_no_stack); | 977 __ bind(&gotta_call_runtime_no_stack); |
| 978 | 978 |
| 979 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); | 979 GenerateTailCallToReturnedCode(masm, Runtime::kCompileLazy); |
| 980 } | 980 } |
| 981 | 981 |
| 982 void Builtins::Generate_CompileBaseline(MacroAssembler* masm) { |
| 983 GenerateTailCallToReturnedCode(masm, Runtime::kCompileBaseline); |
| 984 } |
| 982 | 985 |
| 983 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { | 986 void Builtins::Generate_CompileOptimized(MacroAssembler* masm) { |
| 984 GenerateTailCallToReturnedCode(masm, | 987 GenerateTailCallToReturnedCode(masm, |
| 985 Runtime::kCompileOptimized_NotConcurrent); | 988 Runtime::kCompileOptimized_NotConcurrent); |
| 986 } | 989 } |
| 987 | 990 |
| 988 | 991 |
| 989 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { | 992 void Builtins::Generate_CompileOptimizedConcurrent(MacroAssembler* masm) { |
| 990 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); | 993 GenerateTailCallToReturnedCode(masm, Runtime::kCompileOptimized_Concurrent); |
| 991 } | 994 } |
| (...skipping 1864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2856 // And "return" to the OSR entry point of the function. | 2859 // And "return" to the OSR entry point of the function. |
| 2857 __ ret(0); | 2860 __ ret(0); |
| 2858 } | 2861 } |
| 2859 | 2862 |
| 2860 | 2863 |
| 2861 #undef __ | 2864 #undef __ |
| 2862 } // namespace internal | 2865 } // namespace internal |
| 2863 } // namespace v8 | 2866 } // namespace v8 |
| 2864 | 2867 |
| 2865 #endif // V8_TARGET_ARCH_IA32 | 2868 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |