mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Rename SILGlobalAddr to GlobalAddr.
All globals are SIL globals now. Swift SVN r22827
This commit is contained in:
@@ -598,10 +598,8 @@ bool CopyForwarding::hoistDestroy(SILInstruction *DestroyPoint,
|
||||
--SI;
|
||||
SILInstruction *Inst = &*SI;
|
||||
if (!SrcUserInsts.count(Inst)) {
|
||||
if (!IsWorthHoisting) {
|
||||
if (const ApplyInst *AI = dyn_cast<ApplyInst>(Inst))
|
||||
IsWorthHoisting = true;
|
||||
}
|
||||
if (!IsWorthHoisting && isa<ApplyInst>(Inst))
|
||||
IsWorthHoisting = true;
|
||||
continue;
|
||||
}
|
||||
if (auto *CopyInst = dyn_cast<CopyAddrInst>(Inst)) {
|
||||
|
||||
Reference in New Issue
Block a user