Attempt #2 to unbreak r259595.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 2 Feb 2016 23:26:01 +0000 (23:26 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 2 Feb 2016 23:26:01 +0000 (23:26 +0000)
llvm-svn: 259602

llvm/lib/Transforms/Utils/MemorySSA.cpp

index 6022206..382a18b 100644 (file)
@@ -416,6 +416,7 @@ void MemorySSA::verifyDomination(Function &F) {
         } else {
           UseBlock = cast<MemoryAccess>(U)->getBlock();
         }
+        (void)UseBlock;
         assert(DT->dominates(MP->getBlock(), UseBlock) &&
                "Memory PHI does not dominate it's uses");
       }
@@ -587,10 +588,9 @@ void MemorySSAPrinterPass::getAnalysisUsage(AnalysisUsage &AU) const {
 }
 
 bool MemorySSAPrinterPass::doInitialization(Module &M) {
-  VerifyMemorySSA =
-      M.getContext()
-          .template getOption<bool, MemorySSAPrinterPass,
-                              &MemorySSAPrinterPass::VerifyMemorySSA>();
+  VerifyMemorySSA = M.getContext()
+                        .getOption<bool, MemorySSAPrinterPass,
+                                   &MemorySSAPrinterPass::VerifyMemorySSA>();
   return false;
 }