OSDN Git Service

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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259602 91177308-0d34-0410-b5e6-96231b3b80d8

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;
 }