Skip to content
Commit 643ce61f authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[ObjC][ARC] Don't form a StoreStrong call if it is unsafe to move the

release call

findSafeStoreForStoreStrongContraction checks whether it's safe to move
the release call to the store by inspecting all instructions between the
two, but was ignoring retain instructions. This was causing objects to
be released and deallocated before they were retained.

rdar://81668577
parent 767496d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment