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() ) |