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

Side by Side Diff: src/mips/builtins-mips.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, 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
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_MIPS 5 #if V8_TARGET_ARCH_MIPS
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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1129
1130 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { 1130 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) {
1131 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); 1131 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT);
1132 } 1132 }
1133 1133
1134 1134
1135 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { 1135 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) {
1136 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 1136 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
1137 } 1137 }
1138 1138
1139 1139 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) {
1140 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) {
1141 // Set the address of the interpreter entry trampoline as a return address. 1140 // Set the address of the interpreter entry trampoline as a return address.
1142 // This simulates the initial call to bytecode handlers in interpreter entry 1141 // This simulates the initial call to bytecode handlers in interpreter entry
1143 // trampoline. The return will never actually be taken, but our stack walker 1142 // trampoline. The return will never actually be taken, but our stack walker
1144 // uses this address to determine whether a frame is interpreted. 1143 // uses this address to determine whether a frame is interpreted.
1145 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline())); 1144 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline()));
1146 1145
1147 Generate_EnterBytecodeDispatch(masm); 1146 Generate_EnterBytecodeDispatch(masm);
1148 } 1147 }
1149 1148
1150 1149
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
2547 } 2546 }
2548 } 2547 }
2549 2548
2550 2549
2551 #undef __ 2550 #undef __
2552 2551
2553 } // namespace internal 2552 } // namespace internal
2554 } // namespace v8 2553 } // namespace v8
2555 2554
2556 #endif // V8_TARGET_ARCH_MIPS 2555 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698