Skip to content

Commit 4b4495b

Browse files
committed
[region-isolation] Mark dealloc_{ref,stack_ref,partial_ref} as ignored.
We do not care about them.
1 parent 0cd57e4 commit 4b4495b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SILOptimizer/Analysis/RegionAnalysis.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2339,7 +2339,10 @@ CONSTANT_TRANSLATION(UnconditionalCheckedCastAddrInst, Store)
23392339
CONSTANT_TRANSLATION(AllocGlobalInst, Ignored)
23402340
CONSTANT_TRANSLATION(AutoreleaseValueInst, Ignored)
23412341
CONSTANT_TRANSLATION(DeallocBoxInst, Ignored)
2342+
CONSTANT_TRANSLATION(DeallocPartialRefInst, Ignored)
2343+
CONSTANT_TRANSLATION(DeallocRefInst, Ignored)
23422344
CONSTANT_TRANSLATION(DeallocStackInst, Ignored)
2345+
CONSTANT_TRANSLATION(DeallocStackRefInst, Ignored)
23432346
CONSTANT_TRANSLATION(DebugValueInst, Ignored)
23442347
CONSTANT_TRANSLATION(DestroyAddrInst, Ignored)
23452348
CONSTANT_TRANSLATION(DestroyValueInst, Ignored)
@@ -2440,9 +2443,6 @@ CONSTANT_TRANSLATION(RebindMemoryInst, Unhandled)
24402443
CONSTANT_TRANSLATION(ThrowAddrInst, Unhandled)
24412444
CONSTANT_TRANSLATION(AwaitAsyncContinuationInst, Unhandled)
24422445
CONSTANT_TRANSLATION(DeallocPackInst, Unhandled)
2443-
CONSTANT_TRANSLATION(DeallocStackRefInst, Unhandled)
2444-
CONSTANT_TRANSLATION(DeallocRefInst, Unhandled)
2445-
CONSTANT_TRANSLATION(DeallocPartialRefInst, Unhandled)
24462446
CONSTANT_TRANSLATION(UnmanagedRetainValueInst, Unhandled)
24472447
CONSTANT_TRANSLATION(UnmanagedReleaseValueInst, Unhandled)
24482448
CONSTANT_TRANSLATION(UnmanagedAutoreleaseValueInst, Unhandled)

0 commit comments

Comments
 (0)