summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-20 14:00:56 +0000
committerDan Gohman <gohman@apple.com>2008-08-20 14:00:56 +0000
commitc63a46ef39ca1e2065c98206a9e00e4bc0731c71 (patch)
tree72fbe34665f07446808658b1357eee541ff93dd7 /llvm
parent1ed068128493231ad606f6c852b44e61b7ec5eeb (diff)
downloadbcm5719-llvm-c63a46ef39ca1e2065c98206a9e00e4bc0731c71.tar.gz
bcm5719-llvm-c63a46ef39ca1e2065c98206a9e00e4bc0731c71.zip
Avoid an empty-if-body warning in release builds.
llvm-svn: 55050
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
index 9eaf326896f..746c73e28b9 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud