summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Coroutines
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2016-08-24 05:20:30 +0000
committerGor Nishanov <GorNishanov@gmail.com>2016-08-24 05:20:30 +0000
commit4570e26e68e757058ba2562bffcd6b7344ee0b02 (patch)
tree3e9580174c2ae300fff982de7b5e4f6e151ce3ef /llvm/lib/Transforms/Coroutines
parent241b041fbad8e776f6eab3644d9679264f762afd (diff)
downloadbcm5719-llvm-4570e26e68e757058ba2562bffcd6b7344ee0b02.tar.gz
bcm5719-llvm-4570e26e68e757058ba2562bffcd6b7344ee0b02.zip
[Coroutines] Fix unused var warning in release build
llvm-svn: 279610
Diffstat (limited to 'llvm/lib/Transforms/Coroutines')
-rw-r--r--llvm/lib/Transforms/Coroutines/CoroFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
index 5faf06516c9..66002fe16c5 100644
--- a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+++ b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
@@ -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);
OpenPOWER on IntegriCloud