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

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 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/isolate.cc ('k') | src/mips64/builtins-mips64.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_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 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after
2676 } 2675 }
2677 } 2676 }
2678 2677
2679 2678
2680 #undef __ 2679 #undef __
2681 2680
2682 } // namespace internal 2681 } // namespace internal
2683 } // namespace v8 2682 } // namespace v8
2684 2683
2685 #endif // V8_TARGET_ARCH_MIPS 2684 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698