Index: runtime/vm/bootstrap.cc |
diff --git a/runtime/vm/bootstrap.cc b/runtime/vm/bootstrap.cc |
index a6e9a270bf595c293f6407fd551f8932baec19b6..5a10c6534619664e89c3bdc20e06cd5d48c33227 100644 |
--- a/runtime/vm/bootstrap.cc |
+++ b/runtime/vm/bootstrap.cc |
@@ -367,8 +367,8 @@ static RawError* BootstrapFromKernel(Thread* thread, kernel::Program* program) { |
dart_name = library.url(); |
for (intptr_t j = 0; j < program->libraries().length(); ++j) { |
kernel::Library* kernel_library = program->libraries()[j]; |
- kernel::String* uri = kernel_library->import_uri(); |
- const String& kernel_name = reader.DartSymbol(uri); |
+ intptr_t uri_index = kernel_library->import_uri(); |
+ const String& kernel_name = reader.DartSymbol(uri_index); |
if (kernel_name.Equals(dart_name)) { |
reader.ReadLibrary(kernel_library); |
library.SetLoaded(); |