Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 35a6f3af20bdc7022e7ff5ac065b132533afe4c6..b75059fe6f1cf3265a6fcdc3d30ea23c43820f0f 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -1200,6 +1200,9 @@ class Parser : public ParserBase<ParserTraits> { |
Expression* SpreadCallNew(Expression* function, |
ZoneList<v8::internal::Expression*>* args, int pos); |
+ void SetLanguageMode(Scope* scope, LanguageMode mode); |
+ void EnableLanguageMode(LanguageMode mode); |
adamk
2015/11/03 22:23:15
These names don't help me understand the differenc
Dan Ehrenberg
2015/11/03 22:38:34
I'd like to measure how many webpages are pure str
adamk
2015/11/03 23:04:17
I don't follow: how can a page be "pure strict" wi
|
+ |
Scanner scanner_; |
PreParser* reusable_preparser_; |
Scope* original_scope_; // for ES5 function declarations in sloppy eval |