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

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: Update based on interpreter actually returning to marker. 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 | « no previous file | src/compiler.cc » ('j') | src/x64/builtins-x64.cc » ('J')
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 V(CompileBaseline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 226 V(CompileBaseline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
227 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 227 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
228 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 228 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \
229 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 229 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
230 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 230 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
231 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 231 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
232 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 232 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \
233 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 233 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \
234 \ 234 \
235 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 235 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
236 V(InterpreterMarkBaselineOnReturn, BUILTIN, UNINITIALIZED, kNoExtraICState) \
236 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 237 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
237 V(InterpreterPushArgsAndTailCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 238 V(InterpreterPushArgsAndTailCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
238 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 239 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
239 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 240 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
240 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 241 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
241 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 242 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
242 V(InterpreterEnterBytecodeDispatch, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 243 V(InterpreterEnterBytecodeDispatch, BUILTIN, UNINITIALIZED, kNoExtraICState) \
243 \ 244 \
244 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 245 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
245 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 246 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 static void Generate_StringPrototypeCharCodeAt(CodeStubAssembler* assembler); 647 static void Generate_StringPrototypeCharCodeAt(CodeStubAssembler* assembler);
647 648
648 static void Generate_StringConstructor(MacroAssembler* masm); 649 static void Generate_StringConstructor(MacroAssembler* masm);
649 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm); 650 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm);
650 static void Generate_OnStackReplacement(MacroAssembler* masm); 651 static void Generate_OnStackReplacement(MacroAssembler* masm);
651 static void Generate_InterruptCheck(MacroAssembler* masm); 652 static void Generate_InterruptCheck(MacroAssembler* masm);
652 static void Generate_StackCheck(MacroAssembler* masm); 653 static void Generate_StackCheck(MacroAssembler* masm);
653 654
654 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm); 655 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm);
655 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm); 656 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm);
657 static void Generate_InterpreterMarkBaselineOnReturn(MacroAssembler* masm);
656 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) { 658 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) {
657 return Generate_InterpreterPushArgsAndCallImpl(masm, 659 return Generate_InterpreterPushArgsAndCallImpl(masm,
658 TailCallMode::kDisallow); 660 TailCallMode::kDisallow);
659 } 661 }
660 static void Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) { 662 static void Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) {
661 return Generate_InterpreterPushArgsAndCallImpl(masm, TailCallMode::kAllow); 663 return Generate_InterpreterPushArgsAndCallImpl(masm, TailCallMode::kAllow);
662 } 664 }
663 static void Generate_InterpreterPushArgsAndCallImpl( 665 static void Generate_InterpreterPushArgsAndCallImpl(
664 MacroAssembler* masm, TailCallMode tail_call_mode); 666 MacroAssembler* masm, TailCallMode tail_call_mode);
665 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm); 667 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm);
(...skipping 24 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 | « no previous file | src/compiler.cc » ('j') | src/x64/builtins-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698