src/share/vm/opto/lcm.cpp

changeset 779
6aae2f9d0294
parent 777
37f87013dfd8
parent 604
9148c65abefc
child 791
1ee8caae33af
equal deleted inserted replaced
777:37f87013dfd8 779:6aae2f9d0294
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() )

mercurial