mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Remove the global_addr instruction.
It's no longer needed now that we always lower to SIL globals. Swift SVN r22693
This commit is contained in:
@@ -117,7 +117,7 @@ static bool isIdentifiableObject(SILValue V) {
|
||||
return true;
|
||||
if (isNoAliasArgument(V))
|
||||
return true;
|
||||
if (isa<GlobalAddrInst>(V) || isa<SILGlobalAddrInst>(V))
|
||||
if (isa<SILGlobalAddrInst>(V))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user