mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Mark an unreachable region of code with llvm_unreachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f496deaa03
commit
4c8f909cdf
@ -3496,7 +3496,7 @@ void ObjCARCOpt::OptimizeWeakCalls(Function &F) {
|
|||||||
// No return value.
|
// No return value.
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
llvm_unreachable("alloca really is used!");
|
||||||
}
|
}
|
||||||
UserInst->eraseFromParent();
|
UserInst->eraseFromParent();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user