summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-04-06 04:22:00 +0000
committerRichard Trieu <rtrieu@google.com>2016-04-06 04:22:00 +0000
commitf35d4b09287e7ad97b9b6ab0ab418092cbba1581 (patch)
tree03366177dbd3bbcdb06cbb2edc8db6d842d69ee0 /llvm
parent2deceb033935e97963d1ad1bffea1a330168f262 (diff)
downloadbcm5719-llvm-f35d4b09287e7ad97b9b6ab0ab418092cbba1581.tar.gz
bcm5719-llvm-f35d4b09287e7ad97b9b6ab0ab418092cbba1581.zip
Add parentheses to silence warning.
llvm-svn: 265516
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp3
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;
OpenPOWER on IntegriCloud