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 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 | 1120 |
1121 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { | 1121 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { |
1122 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); | 1122 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); |
1123 } | 1123 } |
1124 | 1124 |
1125 | 1125 |
1126 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { | 1126 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { |
1127 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); | 1127 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); |
1128 } | 1128 } |
1129 | 1129 |
1130 | 1130 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) { |
1131 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) { | |
1132 // Set the address of the interpreter entry trampoline as a return address. | 1131 // Set the address of the interpreter entry trampoline as a return address. |
1133 // This simulates the initial call to bytecode handlers in interpreter entry | 1132 // This simulates the initial call to bytecode handlers in interpreter entry |
1134 // trampoline. The return will never actually be taken, but our stack walker | 1133 // trampoline. The return will never actually be taken, but our stack walker |
1135 // uses this address to determine whether a frame is interpreted. | 1134 // uses this address to determine whether a frame is interpreted. |
1136 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline())); | 1135 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline())); |
1137 | 1136 |
1138 Generate_EnterBytecodeDispatch(masm); | 1137 Generate_EnterBytecodeDispatch(masm); |
1139 } | 1138 } |
1140 | 1139 |
1141 | 1140 |
(...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2668 } | 2667 } |
2669 } | 2668 } |
2670 | 2669 |
2671 | 2670 |
2672 #undef __ | 2671 #undef __ |
2673 | 2672 |
2674 } // namespace internal | 2673 } // namespace internal |
2675 } // namespace v8 | 2674 } // namespace v8 |
2676 | 2675 |
2677 #endif // V8_TARGET_ARCH_MIPS64 | 2676 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |