projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba7a15
)
Add explicit abort so optimized build knows that the function does not return
author
Chris Lattner
<sabre@nondot.org>
Fri, 10 May 2002 18:53:55 +0000
(18:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 10 May 2002 18:53:55 +0000
(18:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2605
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/InstVisitor.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/InstVisitor.h
b/include/llvm/Support/InstVisitor.h
index e4937e10e6b67c13eb850b0202d60449b21bf089..66992396b14295034ed4b49952b057003d1c5c5c 100644
(file)
--- 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();
}
}