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

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 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_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 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
2540 } 2539 }
2541 } 2540 }
2542 2541
2543 2542
2544 #undef __ 2543 #undef __
2545 2544
2546 } // namespace internal 2545 } // namespace internal
2547 } // namespace v8 2546 } // namespace v8
2548 2547
2549 #endif // V8_TARGET_ARCH_MIPS64 2548 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/objects.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698