Skip to content

Commit 9a2582f

Browse files
committed
Remove to strict assert
unreachable exits don't need an dealloc_stack and so there can be alloc_stack instructions without a matching dealloc_stack
1 parent 20a023b commit 9a2582f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/IRGen/AllocStackHoisting.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ static SILInstruction *getSingleDeallocStack(AllocStackInst *ASI) {
153153
return nullptr;
154154
}
155155
}
156-
assert(Dealloc != nullptr);
157156
return Dealloc;
158157
}
159158

0 commit comments

Comments
 (0)