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:
@@ -2509,6 +2509,11 @@ public:
|
||||
verifyOpenedArchetype(CI, CI->getType().getSwiftRValueType());
|
||||
}
|
||||
|
||||
void checkUnconditionalCheckedCastOpaqueInst(
|
||||
UnconditionalCheckedCastOpaqueInst *CI) {
|
||||
verifyOpenedArchetype(CI, CI->getType().getSwiftRValueType());
|
||||
}
|
||||
|
||||
/// Verify if a given type is or contains an opened archetype or dynamic self.
|
||||
/// If this is the case, verify that the provided instruction has a type
|
||||
/// dependent operand for it.
|
||||
|
||||
Reference in New Issue
Block a user