diff --git a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index 6e6a776ea7e..a6793295dfa 100644 --- a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -1317,7 +1317,8 @@ public: Instruction *NewI = New; assert(OldI != NewI && "Disallowed at construction?!"); - assert(!IsDeoptimize || !New && "Deoptimize instrinsics are not replaced!"); + assert((!IsDeoptimize || !New) && + "Deoptimize instrinsics are not replaced!"); Old = nullptr; New = nullptr;