Skip to content

Commit 5603cf2

Browse files
committed
[region-isolation] Remove an assert that doesnt add anything.
Just doing a little cleaning.
1 parent 5b79958 commit 5603cf2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/SILOptimizer/Analysis/RegionAnalysis.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,10 +1937,6 @@ class PartitionOpTranslator {
19371937
///
19381938
/// Semantically this causes all arguments of the applysite to be transferred.
19391939
void translateIsolationCrossingSILApply(FullApplySite applySite) {
1940-
ApplyExpr *sourceApply = applySite.getLoc().getAsASTNode<ApplyExpr>();
1941-
assert((sourceApply || bool(applySite.getIsolationCrossing())) &&
1942-
"only ApplyExpr's should cross isolation domains");
1943-
19441940
// Require all operands first before we emit transferring.
19451941
for (auto op : applySite.getArguments())
19461942
if (auto value = tryToTrackValue(op))

0 commit comments

Comments
 (0)