Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: src/arm/builtins-arm.cc

Issue 1633633002: [Interpreter] Fix deopting from inline functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2598 } 2597 }
2599 } 2598 }
2600 2599
2601 2600
2602 #undef __ 2601 #undef __
2603 2602
2604 } // namespace internal 2603 } // namespace internal
2605 } // namespace v8 2604 } // namespace v8
2606 2605
2607 #endif // V8_TARGET_ARCH_ARM 2606 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698