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

Unified Diff: src/ast/scopes.h

Issue 2257133002: Revert of There are only 2 language modes, not 3 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/code-stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/scopes.h
diff --git a/src/ast/scopes.h b/src/ast/scopes.h
index 3468963e23e929f609430873b6f1e19c33ec15c0..3480b866baaffbd46fefa4270a7595e48cbacd88 100644
--- a/src/ast/scopes.h
+++ b/src/ast/scopes.h
@@ -488,8 +488,8 @@
// Scope-specific information computed during parsing.
//
// The language mode of this scope.
- STATIC_ASSERT(LANGUAGE_END == 2);
- LanguageMode language_mode_ : 1;
+ STATIC_ASSERT(LANGUAGE_END == 3);
+ LanguageMode language_mode_ : 2;
// This scope is inside a 'with' of some outer scope.
bool scope_inside_with_ : 1;
// This scope or a nested catch scope or with scope contain an 'eval' call. At
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698