mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
add an abort after every assert(0)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c64f1488ed
commit
1c8f0536b3
@ -62,6 +62,7 @@ ARMTargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
|
|||||||
bool isTailCall, SDOperand Callee,
|
bool isTailCall, SDOperand Callee,
|
||||||
ArgListTy &Args, SelectionDAG &DAG) {
|
ArgListTy &Args, SelectionDAG &DAG) {
|
||||||
assert(0 && "Not implemented");
|
assert(0 && "Not implemented");
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
static SDOperand LowerRET(SDOperand Op, SelectionDAG &DAG) {
|
static SDOperand LowerRET(SDOperand Op, SelectionDAG &DAG) {
|
||||||
@ -84,6 +85,7 @@ SDOperand ARMTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
|
|||||||
switch (Op.getOpcode()) {
|
switch (Op.getOpcode()) {
|
||||||
default:
|
default:
|
||||||
assert(0 && "Should not custom lower this!");
|
assert(0 && "Should not custom lower this!");
|
||||||
|
abort();
|
||||||
case ISD::RET:
|
case ISD::RET:
|
||||||
return LowerRET(Op, DAG);
|
return LowerRET(Op, DAG);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user