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:
@@ -550,9 +550,6 @@ TupleInst::TupleInst(SILLocation Loc, SILType Ty, ArrayRef<SILValue> Elems)
|
||||
MetatypeInst::MetatypeInst(SILLocation Loc, SILType Metatype)
|
||||
: SILInstruction(ValueKind::MetatypeInst, Loc, Metatype) {}
|
||||
|
||||
ModuleInst::ModuleInst(SILLocation Loc, SILType ModuleType)
|
||||
: SILInstruction(ValueKind::ModuleInst, Loc, ModuleType) {}
|
||||
|
||||
ProjectExistentialInst::ProjectExistentialInst(SILLocation Loc,
|
||||
SILValue Operand,
|
||||
SILType SelfTy)
|
||||
|
||||
Reference in New Issue
Block a user