SIL: Rename SILGlobalAddr to GlobalAddr.

All globals are SIL globals now.

Swift SVN r22827
This commit is contained in:
Joe Groff
2014-10-18 17:08:28 +00:00
parent b9d5a7a71b
commit 3f23b82e6d
59 changed files with 166 additions and 168 deletions

View File

@@ -575,9 +575,9 @@ void SILSerializer::writeSILInstruction(const SILInstruction &SI) {
S.writeSubstitutions(PAI->getSubstitutions(), SILAbbrCodes);
break;
}
case ValueKind::SILGlobalAddrInst: {
case ValueKind::GlobalAddrInst: {
// Format: Name and type. Use SILOneOperandLayout.
const SILGlobalAddrInst *GAI = cast<SILGlobalAddrInst>(&SI);
const GlobalAddrInst *GAI = cast<GlobalAddrInst>(&SI);
SILOneOperandLayout::emitRecord(Out, ScratchRecord,
SILAbbrCodes[SILOneOperandLayout::Code],
(unsigned)SI.getKind(), 0,