[llvm] r273805 - [RSForGC] Appease MSVC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 25 22:42:52 PDT 2016
Author: sanjoy
Date: Sun Jun 26 00:42:52 2016
New Revision: 273805
URL: http://llvm.org/viewvc/llvm-project?rev=273805&view=rev
Log:
[RSForGC] Appease MSVC
Modified:
llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp?rev=273805&r1=273804&r2=273805&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp Sun Jun 26 00:42:52 2016
@@ -729,8 +729,9 @@ static Value *findBasePointer(Value *I,
#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,
#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
More information about the llvm-commits
mailing list