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

Side by Side Diff: src/builtins.h

Issue 1965343002: [Interpreter] Support compiling for baseline on return from interpreted function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test for nosnap build Created 4 years, 7 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/arm64/builtins-arm64.cc ('k') | src/compiler.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 V(CompileBaseline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 230 V(CompileBaseline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
231 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 231 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
232 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 232 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \
233 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 233 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
234 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 234 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
235 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 235 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
236 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 236 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \
237 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 237 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \
238 \ 238 \
239 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 239 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
240 V(InterpreterMarkBaselineOnReturn, BUILTIN, UNINITIALIZED, kNoExtraICState) \
240 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 241 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
241 V(InterpreterPushArgsAndTailCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 242 V(InterpreterPushArgsAndTailCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
242 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 243 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
243 V(InterpreterEnterBytecodeDispatch, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 244 V(InterpreterEnterBytecodeDispatch, BUILTIN, UNINITIALIZED, kNoExtraICState) \
244 \ 245 \
245 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 246 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
246 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 247 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
247 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 248 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
248 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 249 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
249 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \ 250 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 static void Generate_StringPrototypeCharCodeAt(CodeStubAssembler* assembler); 651 static void Generate_StringPrototypeCharCodeAt(CodeStubAssembler* assembler);
651 652
652 static void Generate_StringConstructor(MacroAssembler* masm); 653 static void Generate_StringConstructor(MacroAssembler* masm);
653 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm); 654 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm);
654 static void Generate_OnStackReplacement(MacroAssembler* masm); 655 static void Generate_OnStackReplacement(MacroAssembler* masm);
655 static void Generate_InterruptCheck(MacroAssembler* masm); 656 static void Generate_InterruptCheck(MacroAssembler* masm);
656 static void Generate_StackCheck(MacroAssembler* masm); 657 static void Generate_StackCheck(MacroAssembler* masm);
657 658
658 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm); 659 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm);
659 static void Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm); 660 static void Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm);
661 static void Generate_InterpreterMarkBaselineOnReturn(MacroAssembler* masm);
660 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) { 662 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) {
661 return Generate_InterpreterPushArgsAndCallImpl(masm, 663 return Generate_InterpreterPushArgsAndCallImpl(masm,
662 TailCallMode::kDisallow); 664 TailCallMode::kDisallow);
663 } 665 }
664 static void Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) { 666 static void Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) {
665 return Generate_InterpreterPushArgsAndCallImpl(masm, TailCallMode::kAllow); 667 return Generate_InterpreterPushArgsAndCallImpl(masm, TailCallMode::kAllow);
666 } 668 }
667 static void Generate_InterpreterPushArgsAndCallImpl( 669 static void Generate_InterpreterPushArgsAndCallImpl(
668 MacroAssembler* masm, TailCallMode tail_call_mode); 670 MacroAssembler* masm, TailCallMode tail_call_mode);
669 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm); 671 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm);
(...skipping 20 matching lines...) Expand all
690 friend class BuiltinFunctionTable; 692 friend class BuiltinFunctionTable;
691 friend class Isolate; 693 friend class Isolate;
692 694
693 DISALLOW_COPY_AND_ASSIGN(Builtins); 695 DISALLOW_COPY_AND_ASSIGN(Builtins);
694 }; 696 };
695 697
696 } // namespace internal 698 } // namespace internal
697 } // namespace v8 699 } // namespace v8
698 700
699 #endif // V8_BUILTINS_H_ 701 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698