Skip to content

Commit c5d973d

Browse files
mralephCommit Queue
authored andcommitted
[vm] Remove assert in ArgumentsDescriptor::Write
The property that it was checking does not hold after commit 5e77a23 which brought argument descriptors from vm-isolate into normal isolate. However the code does not actually rely on this property anywhere so assert can be simply removed. Fixes #61041 TEST=ci Change-Id: I500d39ce473948a11a5a743b0241ab54cc040966 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/438680 Commit-Queue: Slava Egorov <[email protected]> Reviewed-by: Martin Kustermann <[email protected]>
1 parent 433c099 commit c5d973d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

runtime/vm/compiler/backend/il_serializer.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ void ArgumentsDescriptor::Write(FlowGraphSerializer* s) const {
109109
s->Write<intptr_t>(Count());
110110
} else {
111111
ASSERT(array_.IsCanonical());
112-
ASSERT(!array_.InVMIsolateHeap());
113112
s->Write<intptr_t>(-1);
114113
s->Write<const Array&>(array_);
115114
}

0 commit comments

Comments
 (0)