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:
parent
b9e591a7b5
commit
625396c63a
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user