mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Users can never be null
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4bb7c02eba
commit
4e84e7720c
@ -87,7 +87,7 @@ void Value::uncheckedReplaceAllUsesWith(Value *New) {
|
||||
|
||||
|
||||
void Value::killUse(User *U) {
|
||||
if (U == 0) return;
|
||||
assert(U != 0 && "Null users are not allowed!");
|
||||
unsigned i;
|
||||
|
||||
// Scan backwards through the uses list looking for the user. We do this
|
||||
|
Loading…
Reference in New Issue
Block a user