8219951: Build failure on Mac and Windows after JDK-8219922
authorkvn
Thu, 28 Feb 2019 17:16:40 -0800
changeset 53966 b378fc877045
parent 53965 86ee52ca11e3
child 53967 2bd3e05d4c6f
8219951: Build failure on Mac and Windows after JDK-8219922 Summary: Add missing parentheses. Reviewed-by: dholmes
src/hotspot/share/opto/indexSet.hpp
--- 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;