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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 | 1129 |
1130 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { | 1130 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { |
1131 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); | 1131 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); |
1132 } | 1132 } |
1133 | 1133 |
1134 | 1134 |
1135 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { | 1135 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { |
1136 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); | 1136 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); |
1137 } | 1137 } |
1138 | 1138 |
1139 | 1139 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) { |
1140 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) { | |
1141 // Set the address of the interpreter entry trampoline as a return address. | 1140 // Set the address of the interpreter entry trampoline as a return address. |
1142 // This simulates the initial call to bytecode handlers in interpreter entry | 1141 // This simulates the initial call to bytecode handlers in interpreter entry |
1143 // trampoline. The return will never actually be taken, but our stack walker | 1142 // trampoline. The return will never actually be taken, but our stack walker |
1144 // uses this address to determine whether a frame is interpreted. | 1143 // uses this address to determine whether a frame is interpreted. |
1145 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline())); | 1144 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline())); |
1146 | 1145 |
1147 Generate_EnterBytecodeDispatch(masm); | 1146 Generate_EnterBytecodeDispatch(masm); |
1148 } | 1147 } |
1149 | 1148 |
1150 | 1149 |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2547 } | 2546 } |
2548 } | 2547 } |
2549 | 2548 |
2550 | 2549 |
2551 #undef __ | 2550 #undef __ |
2552 | 2551 |
2553 } // namespace internal | 2552 } // namespace internal |
2554 } // namespace v8 | 2553 } // namespace v8 |
2555 | 2554 |
2556 #endif // V8_TARGET_ARCH_MIPS | 2555 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |