< prev index next >

src/hotspot/share/opto/lcm.cpp

Print this page
@@ -266,12 +266,12 @@
               !CompressedOops::use_implicit_null_checks()))
            continue;
          // cannot reason about it; is probably not implicit null exception
        } else {
          const TypePtr* tptr;
-         if ((UseCompressedOops || UseCompressedClassPointers) &&
-             (CompressedOops::shift() == 0 || CompressedKlassPointers::shift() == 0)) {
+         if ((UseCompressedOops && CompressedOops::shift() == 0) ||
+             (UseCompressedClassPointers && CompressedKlassPointers::shift() == 0)) {
            // 32-bits narrow oop can be the base of address expressions
            tptr = base->get_ptr_type();
          } else {
            // only regular oops are expected here
            tptr = base->bottom_type()->is_ptr();
< prev index next >