swift
a312732f - AliasAnalysis: consider memory effects of a consume/destroy of a class on it's let-fields

Commit
1 year ago
AliasAnalysis: consider memory effects of a consume/destroy of a class on it's let-fields Although a let-field can never be mutated, a release or consume of the class must be considered as writing to such a field. This change removes the special handling of let-fields in two places, where they don't belong. Class fields are handled by ImmutableScope anyway. Handling of global let-variable is temporarily removed by this commit. Fixes a miscompile. rdar://142996449
Author
Committer
Parents
Loading