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

Unified Diff: src/compiler.h

Issue 1849603002: [turbofan] Effect linearization after representation inference. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tweaks 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | src/compiler/effect-control-linearizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 88956f434fdc6c96aa0e199e97cb88a98b0b180a..d6905cf4d365fb7efec1c95f9eb3f2ec901d153c 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -158,7 +158,8 @@ class CompilationInfo {
kSplittingEnabled = 1 << 13,
kDeoptimizationEnabled = 1 << 14,
kSourcePositionsEnabled = 1 << 15,
- kBailoutOnUninitialized = 1 << 16,
+ kEffectSchedulingEnabled = 1 << 16,
+ kBailoutOnUninitialized = 1 << 17,
};
CompilationInfo(ParseInfo* parse_info, Handle<JSFunction> closure);
@@ -277,6 +278,12 @@ class CompilationInfo {
return GetFlag(kDeoptimizationEnabled);
}
+ void MarkAsEffectSchedulingEnabled() { SetFlag(kEffectSchedulingEnabled); }
+
+ bool is_effect_scheduling_enabled() const {
+ return GetFlag(kEffectSchedulingEnabled);
+ }
+
void MarkAsSourcePositionsEnabled() { SetFlag(kSourcePositionsEnabled); }
bool is_source_positions_enabled() const {
« no previous file with comments | « BUILD.gn ('k') | src/compiler/effect-control-linearizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698