1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +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;
case VM_instrument:
instrumentOneSelectInst(SI);
break;
return;
case VM_annotate:
annotateOneSelectInst(SI);
break;
default:
llvm_unreachable("Unknown visiting mode");
break;
return;
}
llvm_unreachable("Unknown visiting mode");
}
// Traverse all the indirect callsites and annotate the instructions.