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

Unified Diff: src/compiler.h

Issue 1106613003: [turbofan] Unify frame state inputs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment. Created 5 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 | « 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 0e50075021e562cdb227449b4f96cdff1bf4d278..f55c061b5c22ecb499ebb8bd71b1f62c3c773211 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -126,7 +126,8 @@ class CompilationInfo {
kDisableFutureOptimization = 1 << 12,
kSplittingEnabled = 1 << 13,
kBuiltinInliningEnabled = 1 << 14,
- kTypeFeedbackEnabled = 1 << 15
+ kTypeFeedbackEnabled = 1 << 15,
+ kDeoptimizationEnabled = 1 << 16
};
explicit CompilationInfo(ParseInfo* parse_info);
@@ -217,6 +218,12 @@ class CompilationInfo {
return GetFlag(kTypeFeedbackEnabled);
}
+ void MarkAsDeoptimizationEnabled() { SetFlag(kDeoptimizationEnabled); }
+
+ bool is_deoptimization_enabled() const {
+ return GetFlag(kDeoptimizationEnabled);
+ }
+
void MarkAsInliningEnabled() { SetFlag(kInliningEnabled); }
bool is_inlining_enabled() const { return GetFlag(kInliningEnabled); }
« 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