mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00: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