1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

Fix unused variable

llvm-svn: 276050
This commit is contained in:
Daniel Berlin 2016-07-19 23:08:08 +00:00
parent 9fc5029a7f
commit 7e559dbd5a

View File

@ -1592,9 +1592,8 @@ bool MemorySSA::locallyDominates(const MemoryAccess *Dominator,
const MemoryAccess *Dominatee) const {
const BasicBlock *DominatorBlock = Dominator->getBlock();
const BasicBlock *DominateeBlock = Dominatee->getBlock();
assert((DominatorBlock == DominateeBlock) &&
assert((DominatorBlock == Dominatee->getBlock()) &&
"Asking for local domination when accesses are in different blocks!");
// A node dominates itself.
if (Dominatee == Dominator)