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

Side by Side Diff: src/x87/builtins-x87.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/x64/builtins-x64.cc ('k') | test/mjsunit/mjsunit.status » ('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_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/codegen.h" 8 #include "src/codegen.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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 847
848 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { 848 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) {
849 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); 849 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT);
850 } 850 }
851 851
852 852
853 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { 853 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) {
854 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 854 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
855 } 855 }
856 856
857 857 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) {
858 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) {
859 // Set the address of the interpreter entry trampoline as a return address. 858 // Set the address of the interpreter entry trampoline as a return address.
860 // This simulates the initial call to bytecode handlers in interpreter entry 859 // This simulates the initial call to bytecode handlers in interpreter entry
861 // trampoline. The return will never actually be taken, but our stack walker 860 // trampoline. The return will never actually be taken, but our stack walker
862 // uses this address to determine whether a frame is interpreted. 861 // uses this address to determine whether a frame is interpreted.
863 __ Push(masm->isolate()->builtins()->InterpreterEntryTrampoline()); 862 __ Push(masm->isolate()->builtins()->InterpreterEntryTrampoline());
864 863
865 Generate_EnterBytecodeDispatch(masm); 864 Generate_EnterBytecodeDispatch(masm);
866 } 865 }
867 866
868 867
(...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 2548
2550 __ bind(&ok); 2549 __ bind(&ok);
2551 __ ret(0); 2550 __ ret(0);
2552 } 2551 }
2553 2552
2554 #undef __ 2553 #undef __
2555 } // namespace internal 2554 } // namespace internal
2556 } // namespace v8 2555 } // namespace v8
2557 2556
2558 #endif // V8_TARGET_ARCH_X87 2557 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698