1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Fix covered-switch-default warning

llvm-svn: 281865
This commit is contained in:
Simon Pilgrim 2016-09-18 21:08:35 +00:00
parent 38157a81bd
commit 28ff0c8578

View File

@ -983,14 +983,13 @@ void SelectInstVisitor::visitSelectInst(SelectInst &SI) {
return; return;
case VM_instrument: case VM_instrument:
instrumentOneSelectInst(SI); instrumentOneSelectInst(SI);
break; return;
case VM_annotate: case VM_annotate:
annotateOneSelectInst(SI); annotateOneSelectInst(SI);
break; return;
default:
llvm_unreachable("Unknown visiting mode");
break;
} }
llvm_unreachable("Unknown visiting mode");
} }
// Traverse all the indirect callsites and annotate the instructions. // Traverse all the indirect callsites and annotate the instructions.