diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index e4937e10e6b..66992396b14 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -101,6 +101,7 @@ struct InstVisitor { #include "llvm/Instruction.def" default: assert(0 && "Unknown instruction type encountered!"); + abort(); } }