swift
9b8c2b60 - SIL: don't treat properties of different classes as the same AccessStorage

Commit
12 days ago
SIL: don't treat properties of different classes as the same AccessStorage Class properties are identified by the reference root and the field index. Because the reference root was found by looking through `unconditional_checked_cast`, properties of unrelated (e.g. sibling) classes with the same field index were considered as identical storage. Fix this by not looking through `unconditional_checked_cast` when computing the reference root of an AccessStorage and, consistently, in the AccessPath def-use traversal. rdar://193171595
Author
Committer
Parents
Loading