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:
parent
9fc5029a7f
commit
7e559dbd5a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user