| Index: runtime/vm/dart.cc
|
| ===================================================================
|
| --- runtime/vm/dart.cc (revision 39523)
|
| +++ runtime/vm/dart.cc (working copy)
|
| @@ -245,7 +245,10 @@
|
| }
|
| SnapshotReader reader(snapshot->content(), snapshot->length(),
|
| Snapshot::kFull, isolate);
|
| - reader.ReadFullSnapshot();
|
| + const Error& error = Error::Handle(reader.ReadFullSnapshot());
|
| + if (!error.IsNull()) {
|
| + return error.raw();
|
| + }
|
| if (FLAG_trace_isolates) {
|
| isolate->heap()->PrintSizes();
|
| isolate->megamorphic_cache_table()->PrintSizes();
|
|
|