Skip to content
Snippets Groups Projects
Commit e5bf51fc authored by Chris Lattner's avatar Chris Lattner
Browse files

Add an explicit abort so that the optimized build knows the function does

not return.

llvm-svn: 2604
parent 198d5eb1
No related branches found
No related tags found
No related merge requests found
......@@ -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; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment