mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
checked_cast_br may take an additional operands for the source and target types. I'm sure the compiler forgets to check this in many places. In this case, it was just a harmless assert. Fixes <rdar://61122253> Assertion failed: (termInst->getNumOperands() == 1 && "Transformation terminators should only have single operands")