< prev index next >

src/hotspot/share/opto/live.cpp

Print this page

        

@@ -335,20 +335,20 @@
                 } else if( check->is_Con() ) {
                   if (is_derived) {
                     // Derived is NULL+offset
                     assert(!is_derived || check->bottom_type()->is_ptr()->ptr() == TypePtr::Null,"Bad derived pointer");
                   } else {
-                    assert(check->bottom_type()->is_ptr()->_offset == 0,"Bad base pointer");
+                    assert(check->bottom_type()->is_ptr()->offset() == 0,"Bad base pointer");
                     // Base either ConP(NULL) or loadConP
                     if (check->is_Mach()) {
                       assert(check->as_Mach()->ideal_Opcode() == Op_ConP,"Bad base pointer");
                     } else {
                       assert(check->Opcode() == Op_ConP &&
                              check->bottom_type()->is_ptr()->ptr() == TypePtr::Null,"Bad base pointer");
                     }
                   }
-                } else if( check->bottom_type()->is_ptr()->_offset == 0 ) {
+                } else if (check->bottom_type()->is_ptr()->offset() == 0) {
                   if(check->is_Proj() || (check->is_Mach() &&
                      (check->as_Mach()->ideal_Opcode() == Op_CreateEx ||
                       check->as_Mach()->ideal_Opcode() == Op_ThreadLocal ||
                       check->as_Mach()->ideal_Opcode() == Op_CMoveP ||
                       check->as_Mach()->ideal_Opcode() == Op_CheckCastPP ||
< prev index next >