hotspot/src/share/vm/opto/lcm.cpp
changeset 1376 f7fc7a708b63
parent 1374 4c24294029a9
parent 595 a2be4c89de81
child 1388 3677f5f3d66b
equal deleted inserted replaced
1374:4c24294029a9 1376:f7fc7a708b63
   111     case Op_LoadL:
   111     case Op_LoadL:
   112     case Op_LoadP:
   112     case Op_LoadP:
   113     case Op_LoadN:
   113     case Op_LoadN:
   114     case Op_LoadS:
   114     case Op_LoadS:
   115     case Op_LoadKlass:
   115     case Op_LoadKlass:
       
   116     case Op_LoadNKlass:
   116     case Op_LoadRange:
   117     case Op_LoadRange:
   117     case Op_LoadD_unaligned:
   118     case Op_LoadD_unaligned:
   118     case Op_LoadL_unaligned:
   119     case Op_LoadL_unaligned:
   119       break;
   120       break;
   120     case Op_StoreB:
   121     case Op_StoreB:
   131       // If the value being nul-checked is in another slot, it means we
   132       // If the value being nul-checked is in another slot, it means we
   132       // are storing the checked value, which does NOT check the value!
   133       // are storing the checked value, which does NOT check the value!
   133       if( mach->in(2) != val ) continue;
   134       if( mach->in(2) != val ) continue;
   134       break;                    // Found a memory op?
   135       break;                    // Found a memory op?
   135     case Op_StrComp:
   136     case Op_StrComp:
       
   137     case Op_AryEq:
   136       // Not a legit memory op for implicit null check regardless of
   138       // Not a legit memory op for implicit null check regardless of
   137       // embedded loads
   139       // embedded loads
   138       continue;
   140       continue;
   139     default:                    // Also check for embedded loads
   141     default:                    // Also check for embedded loads
   140       if( !mach->needs_anti_dependence_check() )
   142       if( !mach->needs_anti_dependence_check() )