mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-06 17:51:44 +00:00
bugfix: remember that ResNode was declared.
llvm-svn: 36477
This commit is contained in:
parent
266fac909c
commit
40822aaf24
@ -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…
x
Reference in New Issue
Block a user