Index: runtime/vm/bootstrap.cc |
=================================================================== |
--- runtime/vm/bootstrap.cc (revision 3821) |
+++ runtime/vm/bootstrap.cc (working copy) |
@@ -38,18 +38,15 @@ |
} |
-RawError* Bootstrap::Compile(const Library& library, const Script& script) { |
+void Bootstrap::Compile(const Library& library, const Script& script) { |
if (FLAG_print_bootstrap) { |
OS::Print("Bootstrap source '%s':\n%s\n", |
String::Handle(script.url()).ToCString(), |
String::Handle(script.source()).ToCString()); |
} |
library.SetLoadInProgress(); |
- const Error& error = Error::Handle(Compiler::Compile(library, script)); |
- if (error.IsNull()) { |
- library.SetLoaded(); |
- } |
- return error.raw(); |
+ Compiler::Compile(library, script); |
+ library.SetLoaded(); |
} |
} // namespace dart |