add an abort after every assert(0)

llvm-svn: 28310
This commit is contained in:
Rafael Espindola 2006-05-15 22:34:39 +00:00
parent 26bb7c467f
commit 4abf33f56e
1 changed files with 2 additions and 0 deletions

View File

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