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

Side by Side Diff: src/builtins.h

Issue 1903273004: [compiler] Add baseline tier to compilation pipeline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 4 years, 8 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.h » ('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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 208 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \
209 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 209 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \
210 V(JSBuiltinsConstructStub, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 210 V(JSBuiltinsConstructStub, BUILTIN, UNINITIALIZED, kNoExtraICState) \
211 V(JSBuiltinsConstructStubForDerived, BUILTIN, UNINITIALIZED, \ 211 V(JSBuiltinsConstructStubForDerived, BUILTIN, UNINITIALIZED, \
212 kNoExtraICState) \ 212 kNoExtraICState) \
213 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 213 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \
214 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 214 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
215 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 215 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
216 V(ResumeGeneratorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 216 V(ResumeGeneratorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
217 V(CompileLazy, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 217 V(CompileLazy, BUILTIN, UNINITIALIZED, kNoExtraICState) \
218 V(CompileBaseline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
218 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 219 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
219 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 220 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \
220 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 221 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
221 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 222 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
222 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 223 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
223 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 224 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \
224 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 225 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \
225 \ 226 \
226 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 227 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
227 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 228 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // IterateBuiltins() above which assumes Object**'s for the callback 432 // IterateBuiltins() above which assumes Object**'s for the callback
432 // function f, we use an Object* array here. 433 // function f, we use an Object* array here.
433 Object* builtins_[builtin_count]; 434 Object* builtins_[builtin_count];
434 const char* names_[builtin_count]; 435 const char* names_[builtin_count];
435 436
436 static void Generate_Adaptor(MacroAssembler* masm, 437 static void Generate_Adaptor(MacroAssembler* masm,
437 CFunctionId id, 438 CFunctionId id,
438 BuiltinExtraArguments extra_args); 439 BuiltinExtraArguments extra_args);
439 static void Generate_ConstructedNonConstructable(MacroAssembler* masm); 440 static void Generate_ConstructedNonConstructable(MacroAssembler* masm);
440 static void Generate_CompileLazy(MacroAssembler* masm); 441 static void Generate_CompileLazy(MacroAssembler* masm);
442 static void Generate_CompileBaseline(MacroAssembler* masm);
441 static void Generate_InOptimizationQueue(MacroAssembler* masm); 443 static void Generate_InOptimizationQueue(MacroAssembler* masm);
442 static void Generate_CompileOptimized(MacroAssembler* masm); 444 static void Generate_CompileOptimized(MacroAssembler* masm);
443 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm); 445 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm);
444 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); 446 static void Generate_JSConstructStubGeneric(MacroAssembler* masm);
445 static void Generate_JSBuiltinsConstructStub(MacroAssembler* masm); 447 static void Generate_JSBuiltinsConstructStub(MacroAssembler* masm);
446 static void Generate_JSBuiltinsConstructStubForDerived(MacroAssembler* masm); 448 static void Generate_JSBuiltinsConstructStubForDerived(MacroAssembler* masm);
447 static void Generate_JSConstructStubApi(MacroAssembler* masm); 449 static void Generate_JSConstructStubApi(MacroAssembler* masm);
448 static void Generate_JSEntryTrampoline(MacroAssembler* masm); 450 static void Generate_JSEntryTrampoline(MacroAssembler* masm);
449 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); 451 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm);
450 static void Generate_ResumeGeneratorTrampoline(MacroAssembler* masm); 452 static void Generate_ResumeGeneratorTrampoline(MacroAssembler* masm);
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 friend class BuiltinFunctionTable; 675 friend class BuiltinFunctionTable;
674 friend class Isolate; 676 friend class Isolate;
675 677
676 DISALLOW_COPY_AND_ASSIGN(Builtins); 678 DISALLOW_COPY_AND_ASSIGN(Builtins);
677 }; 679 };
678 680
679 } // namespace internal 681 } // namespace internal
680 } // namespace v8 682 } // namespace v8
681 683
682 #endif // V8_BUILTINS_H_ 684 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698