mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SIL] Add dead_end flag to destroy_value.
This commit is contained in:
@@ -1575,7 +1575,7 @@ void SILSerializer::writeSILInstruction(const SILInstruction &SI) {
|
||||
} else if (auto *HTE = dyn_cast<HopToExecutorInst>(&SI)) {
|
||||
Attr = HTE->isMandatory();
|
||||
} else if (auto *DVI = dyn_cast<DestroyValueInst>(&SI)) {
|
||||
Attr = DVI->poisonRefs();
|
||||
Attr = unsigned(DVI->poisonRefs()) | (unsigned(DVI->isDeadEnd()) << 1);
|
||||
} else if (auto *BCMI = dyn_cast<BeginCOWMutationInst>(&SI)) {
|
||||
Attr = BCMI->isNative();
|
||||
} else if (auto *ECMI = dyn_cast<EndCOWMutationInst>(&SI)) {
|
||||
|
||||
Reference in New Issue
Block a user