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_ARM | 5 #if V8_TARGET_ARCH_ARM |
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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 | 1138 |
1139 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { | 1139 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { |
1140 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); | 1140 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); |
1141 } | 1141 } |
1142 | 1142 |
1143 | 1143 |
1144 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { | 1144 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { |
1145 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); | 1145 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); |
1146 } | 1146 } |
1147 | 1147 |
1148 | 1148 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) { |
1149 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) { | |
1150 // Set the address of the interpreter entry trampoline as a return address. | 1149 // Set the address of the interpreter entry trampoline as a return address. |
1151 // This simulates the initial call to bytecode handlers in interpreter entry | 1150 // This simulates the initial call to bytecode handlers in interpreter entry |
1152 // trampoline. The return will never actually be taken, but our stack walker | 1151 // trampoline. The return will never actually be taken, but our stack walker |
1153 // uses this address to determine whether a frame is interpreted. | 1152 // uses this address to determine whether a frame is interpreted. |
1154 __ Move(lr, masm->isolate()->builtins()->InterpreterEntryTrampoline()); | 1153 __ Move(lr, masm->isolate()->builtins()->InterpreterEntryTrampoline()); |
1155 | 1154 |
1156 Generate_EnterBytecodeDispatch(masm); | 1155 Generate_EnterBytecodeDispatch(masm); |
1157 } | 1156 } |
1158 | 1157 |
1159 | 1158 |
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2467 } | 2466 } |
2468 } | 2467 } |
2469 | 2468 |
2470 | 2469 |
2471 #undef __ | 2470 #undef __ |
2472 | 2471 |
2473 } // namespace internal | 2472 } // namespace internal |
2474 } // namespace v8 | 2473 } // namespace v8 |
2475 | 2474 |
2476 #endif // V8_TARGET_ARCH_ARM | 2475 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |