Skip to content

Commit 64e407b

Browse files
rmacnak-googlecommit-bot@chromium.org
authored andcommitted
[vm] Remove stale filtering of SendPorts when writing snapshots.
Change-Id: Iec1fb01fa1e43bbb93f3482cf295656e42150a36 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113137 Reviewed-by: Régis Crelier <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent 3f5f983 commit 64e407b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

runtime/vm/clustered_snapshot.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4570,12 +4570,6 @@ void Serializer::Push(RawObject* object) {
45704570
}
45714571
#endif // !DART_PRECOMPILED_RUNTIME
45724572

4573-
if (object->IsSendPort()) {
4574-
// TODO(rmacnak): Do a better job of resetting fields in precompilation
4575-
// and assert this is unreachable.
4576-
return; // Do not trace, will write null.
4577-
}
4578-
45794573
intptr_t id = heap_->GetObjectId(object);
45804574
if (id == 0) {
45814575
// When discovering the transitive closure of objects reachable from the

0 commit comments

Comments
 (0)