mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Add BridgeToBlockInst.
And in SILGen, lower BridgeToBlockExprs to BridgeToBlockInsts. Swift SVN r4723
This commit is contained in:
@@ -377,6 +377,11 @@ AddressToPointerInst::AddressToPointerInst(SILLocation Loc, SILValue Operand,
|
||||
: ConversionInst(ValueKind::AddressToPointerInst, Loc, Operand, Ty) {
|
||||
}
|
||||
|
||||
BridgeToBlockInst::BridgeToBlockInst(SILLocation Loc, SILValue Operand,
|
||||
SILType Ty)
|
||||
: ConversionInst(ValueKind::BridgeToBlockInst, Loc, Operand, Ty) {
|
||||
}
|
||||
|
||||
ThinToThickFunctionInst::ThinToThickFunctionInst(SILLocation Loc, SILValue Operand,
|
||||
SILType Ty)
|
||||
: ConversionInst(ValueKind::ThinToThickFunctionInst, Loc, Operand, Ty) {
|
||||
|
||||
Reference in New Issue
Block a user