Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 6264f29

Browse files
committed
Attempt #2 to unbreak r259595.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259602 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 76ee764 commit 6264f29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Transforms/Utils/MemorySSA.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ void MemorySSA::verifyDomination(Function &F) {
416416
} else {
417417
UseBlock = cast<MemoryAccess>(U)->getBlock();
418418
}
419+
(void)UseBlock;
419420
assert(DT->dominates(MP->getBlock(), UseBlock) &&
420421
"Memory PHI does not dominate it's uses");
421422
}
@@ -587,10 +588,9 @@ void MemorySSAPrinterPass::getAnalysisUsage(AnalysisUsage &AU) const {
587588
}
588589

589590
bool MemorySSAPrinterPass::doInitialization(Module &M) {
590-
VerifyMemorySSA =
591-
M.getContext()
592-
.template getOption<bool, MemorySSAPrinterPass,
593-
&MemorySSAPrinterPass::VerifyMemorySSA>();
591+
VerifyMemorySSA = M.getContext()
592+
.getOption<bool, MemorySSAPrinterPass,
593+
&MemorySSAPrinterPass::VerifyMemorySSA>();
594594
return false;
595595
}
596596

0 commit comments

Comments
 (0)