From 94b4c5fe83a0ee1cc5ebbd0c5c1a680f7cea9e67 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 10 May 2002 18:53:55 +0000 Subject: [PATCH] Add explicit abort so optimized build knows that the function does not return llvm-svn: 2605 --- llvm/include/llvm/Support/InstVisitor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/Support/InstVisitor.h b/llvm/include/llvm/Support/InstVisitor.h index e4937e10e6b6..66992396b142 100644 --- a/llvm/include/llvm/Support/InstVisitor.h +++ b/llvm/include/llvm/Support/InstVisitor.h @@ -101,6 +101,7 @@ struct InstVisitor { #include "llvm/Instruction.def" default: assert(0 && "Unknown instruction type encountered!"); + abort(); } }