[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jul 27 18:19:38 PDT 2006
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.230 -> 1.231
---
Log message:
Clean up.
---
Diffs of the changes: (+2 -3)
DAGISelEmitter.cpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.230 llvm/utils/TableGen/DAGISelEmitter.cpp:1.231
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.230 Thu Jul 27 20:03:48 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Thu Jul 27 20:19:22 2006
@@ -2469,11 +2469,10 @@
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));
More information about the llvm-commits
mailing list