mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
inverted logic, caught by coverity
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -582,7 +582,7 @@ static void WriteAsOperandInternal(std::ostream &Out, const Value *V,
|
|||||||
Slot = Machine->getSlot(V);
|
Slot = Machine->getSlot(V);
|
||||||
} else {
|
} else {
|
||||||
Machine = createSlotMachine(V);
|
Machine = createSlotMachine(V);
|
||||||
if (Machine == 0)
|
if (Machine)
|
||||||
Slot = Machine->getSlot(V);
|
Slot = Machine->getSlot(V);
|
||||||
else
|
else
|
||||||
Slot = -1;
|
Slot = -1;
|
||||||
|
Reference in New Issue
Block a user