| Index: lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp
|
| diff --git a/lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp b/lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp
|
| index ea515ec05de4c5022921facf4a6580bc80ae098d..c1c909cc46618e6880b0df260b08ecdf8d173fa6 100644
|
| --- a/lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp
|
| +++ b/lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp
|
| @@ -466,11 +466,6 @@ const char *PNaClABIVerifyFunctions::checkInstruction(const Instruction *Inst) {
|
| // value, so check all the cases too.
|
| for (SwitchInst::ConstCaseIt Case = Switch->case_begin(),
|
| E = Switch->case_end(); Case != E; ++Case) {
|
| - // This check will go away when we merge upstream's r190328,
|
| - // which removes all case range support.
|
| - if (!Case.getCaseValueEx().isSingleNumber())
|
| - return "case range in switch instruction";
|
| -
|
| if (!isValidScalarOperand(Case.getCaseValue()))
|
| return "bad switch case";
|
| }
|
|
|