forked from OSchip/llvm-project
Fix 'unused variable' warning in NASSERTS build
llvm-svn: 245723
This commit is contained in:
parent
5521743918
commit
75296901f7
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue