mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
bugfix: remember that ResNode was declared.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc24a72d9e
commit
195c6c298a
@ -2851,9 +2851,10 @@ public:
|
|||||||
Code2 = "SDOperand " + NodeName + " = SDOperand(";
|
Code2 = "SDOperand " + NodeName + " = SDOperand(";
|
||||||
} else {
|
} else {
|
||||||
NodeName = "ResNode";
|
NodeName = "ResNode";
|
||||||
if (!ResNodeDecled)
|
if (!ResNodeDecled) {
|
||||||
Code2 = "SDNode *" + NodeName + " = ";
|
Code2 = "SDNode *" + NodeName + " = ";
|
||||||
else
|
ResNodeDecled = true;
|
||||||
|
} else
|
||||||
Code2 = NodeName + " = ";
|
Code2 = NodeName + " = ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user