aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-10 18:53:55 +0000
committerChris Lattner <sabre@nondot.org>2002-05-10 18:53:55 +0000
commitb498cce6b2e2f89596aba9d0f281c1684a73fb46 (patch)
tree816569cbc17e30e940dedd991cfd8c8ddb1cdc01
parentcba7a1545afa28be675ad47add95abe64d9e0bcc (diff)
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
-rw-r--r--include/llvm/Support/InstVisitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h
index e4937e10e6..66992396b1 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();
}
}