diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-20 14:00:56 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-20 14:00:56 +0000 |
commit | 7a30bc4e7c034ecd0a3bcbfb385ac2a129e6583c (patch) | |
tree | 318bb37f0302ee5991caf273193ce640d04d49f8 /lib | |
parent | 08293f6b6cd4ca3a7d6c02dc747e8432193422c7 (diff) | |
download | external_llvm-7a30bc4e7c034ecd0a3bcbfb385ac2a129e6583c.zip external_llvm-7a30bc4e7c034ecd0a3bcbfb385ac2a129e6583c.tar.gz external_llvm-7a30bc4e7c034ecd0a3bcbfb385ac2a129e6583c.tar.bz2 |
Avoid an empty-if-body warning in release builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp index 9eaf326..746c73e 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp @@ -127,9 +127,10 @@ ScanOperands: if (NeedsRevisit) continue; - if (i == NumOperands) + if (i == NumOperands) { DEBUG(cerr << "Legally typed node: "; N->dump(&DAG); cerr << "\n"); } + } NodeDone: // If we reach here, the node was processed, potentially creating new nodes. |