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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user