8219951: Build failure on Mac and Windows after JDK-8219922
Summary: Add missing parentheses.
Reviewed-by: dholmes
--- a/src/hotspot/share/opto/indexSet.hpp Thu Feb 28 18:28:23 2019 -0500
+++ b/src/hotspot/share/opto/indexSet.hpp Thu Feb 28 17:16:40 2019 -0800
@@ -440,7 +440,7 @@
uint current = _current;
if (current != 0) {
uint advance = count_trailing_zeros(current);
- assert((current >> advance) & 0x1 == 1, "sanity");
+ assert(((current >> advance) & 0x1) == 1, "sanity");
_current = (current >> advance) - 1;
_value += advance;
return _value;