mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Remove 'ModuleInst'.
Module values could never be used for anything, and we have SILUndef now, so when SILGen sees a ModuleExpr, we can just emit 'undef'. Swift SVN r10548
This commit is contained in:
@@ -893,9 +893,6 @@ public:
|
||||
void visitMetatypeInst(MetatypeInst *MI) {
|
||||
OS << "metatype " << MI->getType();
|
||||
}
|
||||
void visitModuleInst(ModuleInst *MI) {
|
||||
OS << "module #" << MI->getType().castTo<ModuleType>()->getModule()->Name;
|
||||
}
|
||||
|
||||
void visitStrongRetainInst(StrongRetainInst *RI) {
|
||||
OS << "strong_retain " << getIDAndType(RI->getOperand());
|
||||
|
||||
Reference in New Issue
Block a user