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

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 and add PPC 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
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 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2614 } 2613 }
2615 } 2614 }
2616 2615
2617 2616
2618 #undef __ 2617 #undef __
2619 2618
2620 } // namespace internal 2619 } // namespace internal
2621 } // namespace v8 2620 } // namespace v8
2622 2621
2623 #endif // V8_TARGET_ARCH_ARM 2622 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/builtins.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698