1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[NFC] Silence Wparentheses warning in DomTreeUpdater, introduced by 336968

llvm-svn: 337001
This commit is contained in:
Erich Keane 2018-07-13 14:41:15 +00:00
parent 535942804d
commit 8ebe1b24bd

View File

@ -56,8 +56,8 @@ bool DomTreeUpdater::isSelfDominance(
bool DomTreeUpdater::applyLazyUpdate(DominatorTree::UpdateKind Kind,
BasicBlock *From, BasicBlock *To) {
assert(DT ||
PDT && "Call applyLazyUpdate() when both DT and PDT are nullptrs.");
assert((DT || PDT) &&
"Call applyLazyUpdate() when both DT and PDT are nullptrs.");
assert(Strategy == DomTreeUpdater::UpdateStrategy::Lazy &&
"Call applyLazyUpdate() with Eager strategy error");
// Analyze pending updates to determine if the update is unnecessary.