Users can never be null

llvm-svn: 8895
This commit is contained in:
Chris Lattner 2003-10-06 17:33:39 +00:00
parent e8ed4ef039
commit 794a7490f8
1 changed files with 1 additions and 1 deletions

View File

@ -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