From: Chris Lattner Date: Fri, 10 May 2002 18:53:55 +0000 (+0000) Subject: Add explicit abort so optimized build knows that the function does not return X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b498cce6b2e2f89596aba9d0f281c1684a73fb46;p=oota-llvm.git Add explicit abort so optimized build knows that the function does not return git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2605 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(); } }