Clean up.

llvm-svn: 29378
This commit is contained in:
Evan Cheng 2006-07-28 01:19:22 +00:00
parent 25437ea178
commit 1ffea6db32

View File

@ -2469,11 +2469,10 @@ public:
for (unsigned i = 0; i < NumRes; ++i)
emitDecl("CPTmp" + utostr(i+ResNo));
std::string Code = "bool Match = " + Fn + "(" + Val;
std::string Code = Fn + "(" + Val;
for (unsigned i = 0; i < NumRes; i++)
Code += ", CPTmp" + utostr(i + ResNo);
emitCode(Code + ");");
emitCheck("Match");
emitCheck(Code + ")");
for (unsigned i = 0; i < NumRes; ++i) {
emitDecl("Tmp" + utostr(i+ResNo));