summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-07-28 01:19:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-07-28 01:19:22 +0000
commitdc7a66a0819e65fa5164c9bdc35e02f47b878b47 (patch)
tree788486d8ae0aa2f629f0780a18534edaae1bc284 /utils
parent0dd7fb27667266acc1f814d20f3adeafded061c8 (diff)
downloadllvm-dc7a66a0819e65fa5164c9bdc35e02f47b878b47.tar.gz
llvm-dc7a66a0819e65fa5164c9bdc35e02f47b878b47.tar.bz2
llvm-dc7a66a0819e65fa5164c9bdc35e02f47b878b47.tar.xz
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index c1d5d3a237..7983ad3137 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -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));