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

Unified Diff: src/compiler.h

Issue 899433005: [turbofan] Split pure nodes in the scheduler if beneficial. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 5 years, 11 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 | « no previous file | src/compiler.cc » ('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 611a41ba80bd47c639a5cc921075a5c0e0b3bd47..e3b6afa6f91a278475adcf9d545fa9fdcdafb8f3 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -90,7 +90,8 @@ class CompilationInfo {
kTypingEnabled = 1 << 18,
kDisableFutureOptimization = 1 << 19,
kModule = 1 << 20,
- kToplevel = 1 << 21
+ kToplevel = 1 << 21,
+ kSplittingEnabled = 1 << 22
};
CompilationInfo(Handle<JSFunction> closure, Zone* zone);
@@ -222,6 +223,10 @@ class CompilationInfo {
bool is_toplevel() const { return GetFlag(kToplevel); }
+ void MarkAsSplittingEnabled() { SetFlag(kSplittingEnabled); }
+
+ bool is_splitting_enabled() const { return GetFlag(kSplittingEnabled); }
+
bool IsCodePreAgingActive() const {
return FLAG_optimize_for_size && FLAG_age_code && !will_serialize() &&
!is_debug();
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698