mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add support for unconditional checked cast instruction for opaque value types + SILGen support for it
This commit is contained in:
@@ -1216,7 +1216,12 @@ public:
|
||||
<< " to " << CI->getTargetType() << " in "
|
||||
<< getIDAndType(CI->getDest());
|
||||
}
|
||||
|
||||
|
||||
void visitUnconditionalCheckedCastOpaqueInst(
|
||||
UnconditionalCheckedCastOpaqueInst *CI) {
|
||||
*this << getIDAndType(CI->getOperand()) << " to " << CI->getType();
|
||||
}
|
||||
|
||||
void visitCheckedCastAddrBranchInst(CheckedCastAddrBranchInst *CI) {
|
||||
*this << getCastConsumptionKindName(CI->getConsumptionKind()) << ' '
|
||||
<< CI->getSourceType() << " in " << getIDAndType(CI->getSrc())
|
||||
|
||||
Reference in New Issue
Block a user