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:
Lauro Ramos Venancio 2007-04-26 17:03:22 +00:00
parent fc24a72d9e
commit 195c6c298a

View File

@ -2851,9 +2851,10 @@ public:
Code2 = "SDOperand " + NodeName + " = SDOperand(";
} else {
NodeName = "ResNode";
if (!ResNodeDecled)
if (!ResNodeDecled) {
Code2 = "SDNode *" + NodeName + " = ";
else
ResNodeDecled = true;
} else
Code2 = NodeName + " = ";
}