diff options
author | Richard Trieu <rtrieu@google.com> | 2016-04-06 04:22:00 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2016-04-06 04:22:00 +0000 |
commit | f35d4b09287e7ad97b9b6ab0ab418092cbba1581 (patch) | |
tree | 03366177dbd3bbcdb06cbb2edc8db6d842d69ee0 | |
parent | 2deceb033935e97963d1ad1bffea1a330168f262 (diff) | |
download | bcm5719-llvm-f35d4b09287e7ad97b9b6ab0ab418092cbba1581.tar.gz bcm5719-llvm-f35d4b09287e7ad97b9b6ab0ab418092cbba1581.zip |
Add parentheses to silence warning.
llvm-svn: 265516
-rw-r--r-- | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index 6e6a776ea7e..a6793295dfa 100644 --- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/llvm/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; |