forked from OSchip/llvm-project
Add explicit abort so optimized build knows that the function does not return
llvm-svn: 2605
This commit is contained in:
parent
e5bf51fc4f
commit
94b4c5fe83
|
@ -101,6 +101,7 @@ struct InstVisitor {
|
|||
#include "llvm/Instruction.def"
|
||||
|
||||
default: assert(0 && "Unknown instruction type encountered!");
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue