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

Side by Side Diff: src/x64/builtins-x64.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/ppc/builtins-ppc.cc ('k') | src/x87/builtins-x87.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_X64 5 #if V8_TARGET_ARCH_X64
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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 894
895 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) { 895 void Builtins::Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm) {
896 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); 896 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::SOFT);
897 } 897 }
898 898
899 899
900 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) { 900 void Builtins::Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm) {
901 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 901 Generate_InterpreterNotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
902 } 902 }
903 903
904 904 void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) {
905 void Builtins::Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm) {
906 // Set the address of the interpreter entry trampoline as a return address. 905 // Set the address of the interpreter entry trampoline as a return address.
907 // This simulates the initial call to bytecode handlers in interpreter entry 906 // This simulates the initial call to bytecode handlers in interpreter entry
908 // trampoline. The return will never actually be taken, but our stack walker 907 // trampoline. The return will never actually be taken, but our stack walker
909 // uses this address to determine whether a frame is interpreted. 908 // uses this address to determine whether a frame is interpreted.
910 __ Push(masm->isolate()->builtins()->InterpreterEntryTrampoline()); 909 __ Push(masm->isolate()->builtins()->InterpreterEntryTrampoline());
911 910
912 Generate_EnterBytecodeDispatch(masm); 911 Generate_EnterBytecodeDispatch(masm);
913 } 912 }
914 913
915 914
(...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after
2753 __ ret(0); 2752 __ ret(0);
2754 } 2753 }
2755 2754
2756 2755
2757 #undef __ 2756 #undef __
2758 2757
2759 } // namespace internal 2758 } // namespace internal
2760 } // namespace v8 2759 } // namespace v8
2761 2760
2762 #endif // V8_TARGET_ARCH_X64 2761 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ppc/builtins-ppc.cc ('k') | src/x87/builtins-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698