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

Unified Diff: src/parser.h

Issue 98863002: Experimental scanner: fix harmony flag setting. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years 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/lexer/lexer-shell.cc ('k') | src/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index e546ec4bc9af10453032eb2803b54095a6c90888..e5024b931b2d5782fcdf1123e241a6b9a38f7f09 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -414,8 +414,6 @@ class Parser : public ParserBase {
~Parser() {
delete reusable_preparser_;
reusable_preparser_ = NULL;
- delete scanner_;
- scanner_ = NULL;
}
// Parses the source code represented by the compilation info and sets its
@@ -761,6 +759,8 @@ class Parser : public ParserBase {
return current_function_state_->factory();
}
+ void SetScannerFlags();
+
Isolate* isolate_;
ZoneList<Handle<String> > symbol_cache_;
« no previous file with comments | « src/lexer/lexer-shell.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698