mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 10:42:36 +00:00
inverted logic, caught by coverity
llvm-svn: 28290
This commit is contained in:
parent
5aa7f78065
commit
872e3ecaa1
@ -582,7 +582,7 @@ static void WriteAsOperandInternal(std::ostream &Out, const Value *V,
|
||||
Slot = Machine->getSlot(V);
|
||||
} else {
|
||||
Machine = createSlotMachine(V);
|
||||
if (Machine == 0)
|
||||
if (Machine)
|
||||
Slot = Machine->getSlot(V);
|
||||
else
|
||||
Slot = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user