1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

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

not return.

llvm-svn: 2604
This commit is contained in:
Chris Lattner 2002-05-10 18:53:21 +00:00
parent b9e591a7b5
commit 625396c63a

View File

@ -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; }