Index: runtime/vm/compiler.cc |
=================================================================== |
--- runtime/vm/compiler.cc (revision 11113) |
+++ runtime/vm/compiler.cc (working copy) |
@@ -72,7 +72,9 @@ |
} |
-RawError* Compiler::Compile(const Library& library, const Script& script) { |
+RawError* Compiler::Compile(const Library& library, |
+ const Script& script, |
+ bool generating_snapshot) { |
Isolate* isolate = Isolate::Current(); |
LongJump* base = isolate->long_jump_base(); |
LongJump jump; |
@@ -86,7 +88,7 @@ |
} |
const String& library_key = String::Handle(library.private_key()); |
script.Tokenize(library_key); |
- Parser::ParseCompilationUnit(library, script); |
+ Parser::ParseCompilationUnit(library, script, generating_snapshot); |
isolate->set_long_jump_base(base); |
return Error::null(); |
} else { |