diff options
Diffstat (limited to 'lib/IR/DomTreeUpdater.cpp')
-rw-r--r-- | lib/IR/DomTreeUpdater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/DomTreeUpdater.cpp b/lib/IR/DomTreeUpdater.cpp index 51dd24bccfa..9af22b16224 100644 --- a/lib/IR/DomTreeUpdater.cpp +++ b/lib/IR/DomTreeUpdater.cpp @@ -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. |