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:
18f4701
)
Add an explicit abort so that the optimized build knows the function does
author
Chris Lattner
<sabre@nondot.org>
Fri, 10 May 2002 18:53:21 +0000
(18:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 10 May 2002 18:53:21 +0000
(18:53 +0000)
not return.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2604
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/iTerminators.h
patch
|
blob
|
history
diff --git
a/include/llvm/iTerminators.h
b/include/llvm/iTerminators.h
index 58822aafa177df0b0145057e0cdd5ca1dab65582..fa1dbd6d8d3a39f9b6f85cfaf5aea30412793c6d 100644
(file)
--- a/
include/llvm/iTerminators.h
+++ b/
include/llvm/iTerminators.h
@@
-50,6
+50,7
@@
public:
virtual const BasicBlock *getSuccessor(unsigned idx) const {
assert(0 && "ReturnInst has no successors!");
+ abort();
}
virtual unsigned getNumSuccessors() const { return 0; }