forked from OSchip/llvm-project
Silence warning in assert introduced in rL349973.
Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D56030 llvm-svn: 349975
This commit is contained in:
parent
f747971bf1
commit
499a66ecc0
|
@ -137,6 +137,7 @@ bool X86DiscriminateMemOps::runOnMachineFunction(MachineFunction &MF) {
|
|||
Changed = true;
|
||||
std::pair<DenseSet<unsigned>::iterator, bool> MustInsert =
|
||||
Set.insert(DI->getBaseDiscriminator());
|
||||
(void)MustInsert; // Silence warning in release build.
|
||||
assert(MustInsert.second && "New discriminator shouldn't be present in set");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue