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:
parent
38157a81bd
commit
28ff0c8578
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user