diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2016-08-24 05:20:30 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2016-08-24 05:20:30 +0000 |
commit | 4570e26e68e757058ba2562bffcd6b7344ee0b02 (patch) | |
tree | 3e9580174c2ae300fff982de7b5e4f6e151ce3ef /llvm/lib/Transforms/Coroutines | |
parent | 241b041fbad8e776f6eab3644d9679264f762afd (diff) | |
download | bcm5719-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.cpp | 4 |
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); |