Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 36cbe8fb39a66ca4a4cb46b122a3ffce18de7af9..eb5d0c3c0cae9cd66506e8b2e377419f4cf56e1c 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -430,10 +430,7 @@ class Parser { |
virtual ~Parser() { } |
// Returns NULL if parsing failed. |
- FunctionLiteral* ParseProgram(Handle<String> source, |
- bool in_global_context, |
- StrictModeFlag strict_mode); |
- |
+ FunctionLiteral* ParseProgram(CompilationInfo* info); |
FunctionLiteral* ParseLazy(CompilationInfo* info); |
void ReportMessageAt(Scanner::Location loc, |
@@ -480,9 +477,8 @@ class Parser { |
Zone* zone() { return isolate_->zone(); } |
// Called by ParseProgram after setting up the scanner. |
- FunctionLiteral* DoParseProgram(Handle<String> source, |
- bool in_global_context, |
- StrictModeFlag strict_mode, |
+ FunctionLiteral* DoParseProgram(CompilationInfo* info, |
+ Handle<String> source, |
ZoneScope* zone_scope); |
// Report syntax error |