We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c707643 commit 55c3759Copy full SHA for 55c3759
lib/SILOptimizer/Mandatory/AddressLowering.cpp
@@ -3024,11 +3024,7 @@ class UseRewriter : SILInstructionVisitor<UseRewriter> {
3024
3025
void visitBuiltinInst(BuiltinInst *bi) {
3026
switch (bi->getBuiltinKind().value_or(BuiltinValueKind::None)) {
3027
- case BuiltinValueKind::ResumeNonThrowingContinuationReturning: {
3028
- SILValue opAddr = addrMat.materializeAddress(use->get());
3029
- bi->setOperand(use->getOperandNumber(), opAddr);
3030
- break;
3031
- }
+ case BuiltinValueKind::ResumeNonThrowingContinuationReturning:
3032
case BuiltinValueKind::ResumeThrowingContinuationReturning: {
3033
SILValue opAddr = addrMat.materializeAddress(use->get());
3034
bi->setOperand(use->getOperandNumber(), opAddr);
0 commit comments