1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Users can never be null

llvm-svn: 8895
This commit is contained in:
Chris Lattner 2003-10-06 17:33:39 +00:00
parent e6955c77e0
commit 6f939cc824

View File

@ -87,7 +87,7 @@ void Value::uncheckedReplaceAllUsesWith(Value *New) {
void Value::killUse(User *U) { void Value::killUse(User *U) {
if (U == 0) return; assert(U != 0 && "Null users are not allowed!");
unsigned i; unsigned i;
// Scan backwards through the uses list looking for the user. We do this // Scan backwards through the uses list looking for the user. We do this