diff options
| author | Tobias Grosser <tobias@grosser.es> | 2015-08-21 19:23:21 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2015-08-21 19:23:21 +0000 |
| commit | 75296901f7bf272fa79b1a62388aaa11bcfa5e2b (patch) | |
| tree | 79ccc3f1d5c4db065cb0bd80d27da172883e1296 | |
| parent | 55217439181a9407f6237b5f146dfe08fa8bc59e (diff) | |
| download | bcm5719-llvm-75296901f7bf272fa79b1a62388aaa11bcfa5e2b.tar.gz bcm5719-llvm-75296901f7bf272fa79b1a62388aaa11bcfa5e2b.zip | |
Fix 'unused variable' warning in NASSERTS build
llvm-svn: 245723
| -rw-r--r-- | polly/lib/CodeGen/BlockGenerators.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp index 82082cbdbe1..ca9fcd88507 100644 --- a/polly/lib/CodeGen/BlockGenerators.cpp +++ b/polly/lib/CodeGen/BlockGenerators.cpp @@ -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) { |

