changeset 53966:b378fc877045

8219951: Build failure on Mac and Windows after JDK-8219922 Summary: Add missing parentheses. Reviewed-by: dholmes
author kvn
date Thu, 28 Feb 2019 17:16:40 -0800
parents 86ee52ca11e3
children 2bd3e05d4c6f
files src/hotspot/share/opto/indexSet.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;