[Coroutines] Fix unused var warning in release build
authorGor Nishanov <GorNishanov@gmail.com>
Wed, 24 Aug 2016 05:20:30 +0000 (05:20 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Wed, 24 Aug 2016 05:20:30 +0000 (05:20 +0000)
llvm-svn: 279610

llvm/lib/Transforms/Coroutines/CoroFrame.cpp

index 5faf065..66002fe 100644 (file)
@@ -182,8 +182,8 @@ SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape)
   }
 
   // Iterate propagating consumes and kills until they stop changing
-  int Iteration = 0;
-
+  int Iteration = 0; (void)Iteration;
+  
   bool Changed;
   do {
     DEBUG(dbgs() << "iteration " << ++Iteration);