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

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 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_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 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after
2619 __ ret(0); 2618 __ ret(0);
2620 } 2619 }
2621 2620
2622 2621
2623 #undef __ 2622 #undef __
2624 2623
2625 } // namespace internal 2624 } // namespace internal
2626 } // namespace v8 2625 } // namespace v8
2627 2626
2628 #endif // V8_TARGET_ARCH_X64 2627 #endif // V8_TARGET_ARCH_X64
OLDNEW
« src/objects.h ('K') | « 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