Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index ff36fe90e0b0cd1c9a5c44f6086b7dc6ba069e33..be9dc01f411ea9802cbbcadf7299774332d7f0c8 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -654,8 +654,8 @@ class Parser : public ParserBase<ParserTraits> { |
// Handle errors detected during parsing, move statistics to Isolate, |
// internalize strings (move them to the heap). |
- void Internalize(CompilationInfo* info); |
- void HandleSourceURLComments(CompilationInfo* info); |
+ void Internalize(Isolate* isolate, Handle<Script> script, bool error); |
+ void HandleSourceURLComments(Isolate* isolate, Handle<Script> script); |
private: |
friend class ParserTraits; |
@@ -670,10 +670,10 @@ class Parser : public ParserBase<ParserTraits> { |
static const int kMaxNumFunctionLocals = 4194303; // 2^22-1 |
// Returns NULL if parsing failed. |
- FunctionLiteral* ParseProgram(CompilationInfo* info); |
+ FunctionLiteral* ParseProgram(Isolate* isolate, CompilationInfo* info); |
- FunctionLiteral* ParseLazy(CompilationInfo* info); |
- FunctionLiteral* ParseLazy(CompilationInfo* info, |
+ FunctionLiteral* ParseLazy(Isolate* isolate, CompilationInfo* info); |
+ FunctionLiteral* ParseLazy(Isolate* isolate, CompilationInfo* info, |
Utf16CharacterStream* source); |
// Called by ParseProgram after setting up the scanner. |