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

Unified Diff: src/parsing/parse-info.h

Issue 2399833002: Teach Scopes whether they will end up being lazily compiled or not (Closed)
Patch Set: updates Created 4 years, 2 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
Index: src/parsing/parse-info.h
diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
index 4aedae4978ea7cad8d91e7cff93d3ad1b9caeb8b..994bcfd853b9c43df285ac61885f7ba7cbe9669c 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -57,6 +57,8 @@ class ParseInfo {
FLAG_ACCESSOR(kIsNamedExpression, is_named_expression,
set_is_named_expression)
FLAG_ACCESSOR(kCallsEval, calls_eval, set_calls_eval)
+ FLAG_ACCESSOR(kDebug, is_debug, set_is_debug)
+ FLAG_ACCESSOR(kSerializing, will_serialize, set_will_serialize)
#undef FLAG_ACCESSOR
@@ -206,8 +208,10 @@ class ParseInfo {
kAllowLazyParsing = 1 << 8,
kIsNamedExpression = 1 << 9,
kCallsEval = 1 << 10,
+ kDebug = 1 << 11,
+ kSerializing = 1 << 12,
// ---------- Output flags --------------------------
- kAstValueFactoryOwned = 1 << 11
+ kAstValueFactoryOwned = 1 << 13
};
//------------- Inputs to parsing and scope analysis -----------------------

Powered by Google App Engine
This is Rietveld 408576698