A minor simplication in the generated code.

llvm-svn: 40479
This commit is contained in:
Dan Gohman 2007-07-24 22:58:00 +00:00
parent f906c7286f
commit 5a629d4cee
1 changed files with 2 additions and 2 deletions

View File

@ -2875,7 +2875,7 @@ public:
std::string NodeName;
if (!isRoot) {
NodeName = "Tmp" + utostr(ResNo);
Code2 = "SDOperand " + NodeName + " = SDOperand(";
Code2 = "SDOperand " + NodeName + "(";
} else {
NodeName = "ResNode";
if (!ResNodeDecled) {
@ -2991,7 +2991,7 @@ public:
bool NeedReplace = false;
if (NodeHasOutFlag) {
if (!InFlagDecled) {
emitCode("SDOperand InFlag = SDOperand(ResNode, " +
emitCode("SDOperand InFlag(ResNode, " +
utostr(NumResults + (unsigned)NodeHasChain) + ");");
InFlagDecled = true;
} else