| 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 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); | 1132 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 | 1135 |
| 1136 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { | 1136 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { |
| 1137 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); | 1137 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); |
| 1138 } | 1138 } |
| 1139 | 1139 |
| 1140 | 1140 |
| 1141 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) { | 1141 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) { |
| 1142 // Set the address of the interpreter entry trampoline as a return address. |
| 1143 // This simulates the initial call to bytecode handlers in interpreter entry |
| 1144 // trampoline. The return will never actually be taken, but our stack walker |
| 1145 // uses this address to determine whether a frame is interpreted. |
| 1146 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline())); |
| 1147 |
| 1142 Generate_EnterBytecodeDispatch(masm); | 1148 Generate_EnterBytecodeDispatch(masm); |
| 1143 } | 1149 } |
| 1144 | 1150 |
| 1145 | 1151 |
| 1146 void Builtins::Generate_CompileLazy(MacroAssembler* masm) { | 1152 void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
| 1147 CallRuntimePassFunction(masm, Runtime::kCompileLazy); | 1153 CallRuntimePassFunction(masm, Runtime::kCompileLazy); |
| 1148 GenerateTailCallToReturnedCode(masm); | 1154 GenerateTailCallToReturnedCode(masm); |
| 1149 } | 1155 } |
| 1150 | 1156 |
| 1151 | 1157 |
| (...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2559 } | 2565 } |
| 2560 } | 2566 } |
| 2561 | 2567 |
| 2562 | 2568 |
| 2563 #undef __ | 2569 #undef __ |
| 2564 | 2570 |
| 2565 } // namespace internal | 2571 } // namespace internal |
| 2566 } // namespace v8 | 2572 } // namespace v8 |
| 2567 | 2573 |
| 2568 #endif // V8_TARGET_ARCH_MIPS64 | 2574 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |