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

Side by Side Diff: src/mips64/builtins-mips64.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 | « src/mips/builtins-mips.cc ('k') | src/objects.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 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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 1120
1121 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { 1121 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) {
1122 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); 1122 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT);
1123 } 1123 }
1124 1124
1125 1125
1126 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { 1126 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) {
1127 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 1127 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
1128 } 1128 }
1129 1129
1130 1130 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) {
1131 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) {
1132 // Set the address of the interpreter entry trampoline as a return address. 1131 // Set the address of the interpreter entry trampoline as a return address.
1133 // This simulates the initial call to bytecode handlers in interpreter entry 1132 // This simulates the initial call to bytecode handlers in interpreter entry
1134 // trampoline. The return will never actually be taken, but our stack walker 1133 // trampoline. The return will never actually be taken, but our stack walker
1135 // uses this address to determine whether a frame is interpreted. 1134 // uses this address to determine whether a frame is interpreted.
1136 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline())); 1135 __ li(ra, Operand(masm->isolate()->builtins()->InterpreterEntryTrampoline()));
1137 1136
1138 Generate_EnterBytecodeDispatch(masm); 1137 Generate_EnterBytecodeDispatch(masm);
1139 } 1138 }
1140 1139
1141 1140
(...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after
2668 } 2667 }
2669 } 2668 }
2670 2669
2671 2670
2672 #undef __ 2671 #undef __
2673 2672
2674 } // namespace internal 2673 } // namespace internal
2675 } // namespace v8 2674 } // namespace v8
2676 2675
2677 #endif // V8_TARGET_ARCH_MIPS64 2676 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698