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

Unified Diff: src/globals.h

Issue 968263002: [strong] Fix scoping related errors for methods. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: code review (arv@) Created 5 years, 10 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/parser.cc » ('j') | src/scopes.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index b0239b367cfd63ec6dd9c04bc03a9c5b6e462aff..09cf14c603aa1d980f16d94e7e23ac52a595de17 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -693,7 +693,8 @@ enum ScopeType {
CATCH_SCOPE, // The scope introduced by catch.
BLOCK_SCOPE, // The scope introduced by a new block.
WITH_SCOPE, // The scope introduced by with.
- ARROW_SCOPE // The top-level scope for an arrow function literal.
+ ARROW_SCOPE, // The top-level scope for an arrow function literal.
+ CLASS_SCOPE // The top-level scope for a class.
};
// The mips architecture prior to revision 5 has inverted encoding for sNaN.
« no previous file with comments | « no previous file | src/parser.cc » ('j') | src/scopes.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698