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

Unified Diff: runtime/vm/bootstrap.cc

Issue 2931813002: [kernel] Stream kernel_reader (Closed)
Patch Set: Feedback Created 3 years, 6 months 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 | « pkg/kernel/lib/binary/ast_to_binary.dart ('k') | runtime/vm/bootstrap_nocore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap.cc
diff --git a/runtime/vm/bootstrap.cc b/runtime/vm/bootstrap.cc
index 8a1ad6aec59bd2194053c6d5651bb27215b5903e..d6c28e372ef561ac1ac0023f3d030f9800f50a31 100644
--- a/runtime/vm/bootstrap.cc
+++ b/runtime/vm/bootstrap.cc
@@ -339,7 +339,7 @@ static RawError* BootstrapFromKernel(Thread* thread, kernel::Program* program) {
kernel::StringIndex uri_index = kernel_library->import_uri();
const String& kernel_name = reader.DartSymbol(uri_index);
if (kernel_name.Equals(dart_name)) {
- reader.ReadLibrary(kernel_library);
+ reader.ReadLibrary(kernel_library->kernel_offset());
library.SetLoaded();
break;
}
« no previous file with comments | « pkg/kernel/lib/binary/ast_to_binary.dart ('k') | runtime/vm/bootstrap_nocore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698