swift
c2c4f133 - [region-isolation] Fix crasher.

Commit
1 year ago
[region-isolation] Fix crasher. The specific problem is that instead of just using the parent type of the ref_element_addr (which is guaranteed to be a class), we used the base of the storage... the base doesn't have to be the ref_element_addr's operand. The crasher occured when that base was a class existential that we cast to a super class whose field we access.
Author
Committer
Parents
Loading