SIL: Add BridgeToBlockInst.

And in SILGen, lower BridgeToBlockExprs to BridgeToBlockInsts.

Swift SVN r4723
This commit is contained in:
Joe Groff
2013-04-13 17:05:38 +00:00
parent 6ed98ac0e5
commit 4cdcdba22e
8 changed files with 98 additions and 2 deletions

View File

@@ -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) {