Fix 'unused variable' warning in NASSERTS build

llvm-svn: 245723
This commit is contained in:
Tobias Grosser 2015-08-21 19:23:21 +00:00
parent 5521743918
commit 75296901f7
1 changed files with 3 additions and 3 deletions

View File

@ -1104,9 +1104,9 @@ void RegionGenerator::generateScalarStores(ScopStmt &Stmt, BasicBlock *BB,
ValueMapT &GlobalMap) {
const Region &R = Stmt.getParent()->getRegion();
Region *StmtR = Stmt.getRegion();
assert(StmtR && "Block statements need to use the generateScalarStores() "
"function in the BlockGenerator");
assert(Stmt.getRegion() &&
"Block statements need to use the generateScalarStores() "
"function in the BlockGenerator");
for (MemoryAccess *MA : Stmt) {