mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
add an abort after every assert(0)
llvm-svn: 28310
This commit is contained in:
parent
243aaabbe7
commit
c928207091
@ -62,6 +62,7 @@ ARMTargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
|
||||
bool isTailCall, SDOperand Callee,
|
||||
ArgListTy &Args, SelectionDAG &DAG) {
|
||||
assert(0 && "Not implemented");
|
||||
abort();
|
||||
}
|
||||
|
||||
static SDOperand LowerRET(SDOperand Op, SelectionDAG &DAG) {
|
||||
@ -84,6 +85,7 @@ SDOperand ARMTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
|
||||
switch (Op.getOpcode()) {
|
||||
default:
|
||||
assert(0 && "Should not custom lower this!");
|
||||
abort();
|
||||
case ISD::RET:
|
||||
return LowerRET(Op, DAG);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user