[NFC] Void variables used for asserts only

llvm-svn: 327693
This commit is contained in:
Max Kazantsev 2018-03-16 05:02:24 +00:00
parent 80a0f020fa
commit 2e7fec7c90
1 changed files with 2 additions and 0 deletions

View File

@ -6971,6 +6971,7 @@ ScalarEvolution::ExitLimitCache::find(const Loop *L, Value *ExitCond,
bool ExitIfTrue, bool ControlsExit,
bool AllowPredicates) {
(void)this->L;
(void)this->ExitIfTrue;
(void)this->AllowPredicates;
assert(this->L == L && this->ExitIfTrue == ExitIfTrue &&
@ -6994,6 +6995,7 @@ void ScalarEvolution::ExitLimitCache::insert(const Loop *L, Value *ExitCond,
auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL});
assert(InsertResult.second && "Expected successful insertion!");
(void)InsertResult;
(void)ExitIfTrue;
}
ScalarEvolution::ExitLimit ScalarEvolution::computeExitLimitFromCondCached(