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 { |