Avoid an empty-if-body warning in release builds.
authorDan Gohman <gohman@apple.com>
Wed, 20 Aug 2008 14:00:56 +0000 (14:00 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 20 Aug 2008 14:00:56 +0000 (14:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55050 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

index 9eaf326896f0905d127c1330ef5266011afb19d2..746c73e28b95c6c3ec24fbca552ef85ae4705ccb 100644 (file)
@@ -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.