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

Side by Side Diff: src/arm64/builtins-arm64.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, 10 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 | « src/arm/builtins-arm.cc ('k') | src/builtins.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/debug/debug.h" 9 #include "src/debug/debug.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 1097
1098 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { 1098 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) {
1099 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); 1099 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT);
1100 } 1100 }
1101 1101
1102 1102
1103 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { 1103 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) {
1104 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 1104 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
1105 } 1105 }
1106 1106
1107 1107 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) {
1108 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) {
1109 // Set the address of the interpreter entry trampoline as a return address. 1108 // Set the address of the interpreter entry trampoline as a return address.
1110 // This simulates the initial call to bytecode handlers in interpreter entry 1109 // This simulates the initial call to bytecode handlers in interpreter entry
1111 // trampoline. The return will never actually be taken, but our stack walker 1110 // trampoline. The return will never actually be taken, but our stack walker
1112 // uses this address to determine whether a frame is interpreted. 1111 // uses this address to determine whether a frame is interpreted.
1113 __ LoadObject(lr, masm->isolate()->builtins()->InterpreterEntryTrampoline()); 1112 __ LoadObject(lr, masm->isolate()->builtins()->InterpreterEntryTrampoline());
1114 1113
1115 Generate_EnterBytecodeDispatch(masm); 1114 Generate_EnterBytecodeDispatch(masm);
1116 } 1115 }
1117 1116
1118 1117
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after
2745 } 2744 }
2746 } 2745 }
2747 2746
2748 2747
2749 #undef __ 2748 #undef __
2750 2749
2751 } // namespace internal 2750 } // namespace internal
2752 } // namespace v8 2751 } // namespace v8
2753 2752
2754 #endif // V8_TARGET_ARCH_ARM 2753 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698