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:
Joe Groff
2014-10-12 17:19:06 +00:00
parent 6ee6f3d751
commit bb46f4bbd9
41 changed files with 103 additions and 319 deletions

View File

@@ -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;
}