swift
e7fd5310 - Fix wrong usage of escape analysis in MemBehavior

Commit
7 years ago
Fix wrong usage of escape analysis in MemBehavior The EscapeAnalysis:canEscapeTo function was actually broken, because it did not detect all escapes of a reference/pointer. I completely replaced the implementation with the correct one (canObjectOrContentEscapeTo) and removed the now obsolete canObjectOrContentEscapeTo. Fixes a miscompile. rdar://problem/39161309
Author
Committer
Parents
Loading