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

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

Issue 2392303004: [parser] Remove obsolete ParseInfo::is_global flag. (Closed)
Patch Set: Also renumber flags. 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
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | test/cctest/asmjs/test-asm-typer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parse-info.h
diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
index 4aedae4978ea7cad8d91e7cff93d3ad1b9caeb8b..8ac8ae532ad26d5855b43aa9d3e2722803efa3db 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -47,7 +47,6 @@ class ParseInfo {
FLAG_ACCESSOR(kToplevel, is_toplevel, set_toplevel)
FLAG_ACCESSOR(kLazy, is_lazy, set_lazy)
FLAG_ACCESSOR(kEval, is_eval, set_eval)
- FLAG_ACCESSOR(kGlobal, is_global, set_global)
FLAG_ACCESSOR(kStrictMode, is_strict_mode, set_strict_mode)
FLAG_ACCESSOR(kNative, is_native, set_native)
FLAG_ACCESSOR(kModule, is_module, set_module)
@@ -198,16 +197,15 @@ class ParseInfo {
kToplevel = 1 << 0,
kLazy = 1 << 1,
kEval = 1 << 2,
- kGlobal = 1 << 3,
- kStrictMode = 1 << 4,
- kNative = 1 << 5,
- kParseRestriction = 1 << 6,
- kModule = 1 << 7,
- kAllowLazyParsing = 1 << 8,
- kIsNamedExpression = 1 << 9,
- kCallsEval = 1 << 10,
+ kStrictMode = 1 << 3,
+ kNative = 1 << 4,
+ kParseRestriction = 1 << 5,
+ kModule = 1 << 6,
+ kAllowLazyParsing = 1 << 7,
+ kIsNamedExpression = 1 << 8,
+ kCallsEval = 1 << 9,
// ---------- Output flags --------------------------
- kAstValueFactoryOwned = 1 << 11
+ kAstValueFactoryOwned = 1 << 10
};
//------------- Inputs to parsing and scope analysis -----------------------
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | test/cctest/asmjs/test-asm-typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698