Chromium Code Reviews| Index: runtime/vm/snapshot.cc |
| diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
| index decc5a78071d7136ea72a2d67673ee177c26d7c2..cbbf890e1825fa6bb2abf081d6c42c5b1788a289 100644 |
| --- a/runtime/vm/snapshot.cc |
| +++ b/runtime/vm/snapshot.cc |
| @@ -2646,7 +2646,9 @@ void SnapshotWriter::WriteInstanceRef(RawObject* raw, RawClass* cls) { |
| bool SnapshotWriter::AllowObjectsInDartLibrary(RawLibrary* library) { |
| - return library == object_store()->typed_data_library(); |
| + return (library == object_store()->collection_library() || |
|
koda
2015/09/16 17:41:26
I don't think the whitelisting of dart.collection
siva
2015/09/16 18:24:44
Added a new test with the type being expicitly set
|
| + library == object_store()->core_library() || |
| + library == object_store()->typed_data_library()); |
| } |