OSDN Git Service

[RSForGC] Appease MSVC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 26 Jun 2016 05:42:52 +0000 (05:42 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 26 Jun 2016 05:42:52 +0000 (05:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273805 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

index 7a9a113..a4b8519 100644 (file)
@@ -729,8 +729,9 @@ static Value *findBasePointer(Value *I, DefiningValueMapTy &Cache) {
 
 #ifndef NDEBUG
   DEBUG(dbgs() << "States after initialization:\n");
-  for (auto Pair : States)
+  for (auto Pair : States) {
     DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
+  }
 #endif
 
   // Return a phi state for a base defining value.  We'll generate a new
@@ -798,8 +799,9 @@ static Value *findBasePointer(Value *I, DefiningValueMapTy &Cache) {
 
 #ifndef NDEBUG
   DEBUG(dbgs() << "States after meet iteration:\n");
-  for (auto Pair : States)
+  for (auto Pair : States) {
     DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
+  }
 #endif
 
   // Insert Phis for all conflicts