Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index cd7dbde9f15319d29d4dfcf006c73250d589489d..9f7ae65312fe0deef72c01947fb9100a383ae8f5 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -226,7 +226,7 @@ const char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot, |
T); |
const Error& error = Error::Handle(reader.ReadVmIsolateSnapshot()); |
if (!error.IsNull()) { |
- return error.ToCString(); |
+ return error.ToErrorCString(); |
} |
NOT_IN_PRODUCT(if (tds.enabled()) { |
tds.SetNumArguments(2); |
@@ -510,12 +510,6 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) { |
I->heap()->PrintSizes(); |
MegamorphicCacheTable::PrintSizes(I); |
} |
- } else { |
- // Populate the isolate's symbol table with all symbols from the |
- // VM isolate. We do this so that when we generate a full snapshot |
- // for the isolate we have a unified symbol table that we can then |
- // read into the VM isolate. |
- Symbols::AddPredefinedSymbolsToIsolate(); |
} |
Object::VerifyBuiltinVtables(); |