Skip to content

Commit f8f32a6

Browse files
committed
[NFC] AddressLowering: Alpha'd declaration.
1 parent 0b05a1e commit f8f32a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SILOptimizer/Mandatory/AddressLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,9 +3101,6 @@ class UseRewriter : SILInstructionVisitor<UseRewriter> {
31013101
llvm::report_fatal_error("Unimplemented SelectValue use.");
31023102
}
31033103

3104-
// Opaque enum operand to a switch_enum.
3105-
void visitSwitchEnumInst(SwitchEnumInst *SEI);
3106-
31073104
void rewriteStore(SILValue srcVal, SILValue destAddr,
31083105
IsInitialization_t isInit);
31093106

@@ -3134,6 +3131,9 @@ class UseRewriter : SILInstructionVisitor<UseRewriter> {
31343131
// member implies an address-only Struct.
31353132
void visitStructInst(StructInst *structInst) {}
31363133

3134+
// Opaque enum operand to a switch_enum.
3135+
void visitSwitchEnumInst(SwitchEnumInst *SEI);
3136+
31373137
// Opaque call argument.
31383138
void visitTryApplyInst(TryApplyInst *tryApplyInst) {
31393139
CallArgRewriter(tryApplyInst, pass).rewriteIndirectArgument(use);

0 commit comments

Comments
 (0)