135 // If the value being nul-checked is in another slot, it means we |
135 // If the value being nul-checked is in another slot, it means we |
136 // are storing the checked value, which does NOT check the value! |
136 // are storing the checked value, which does NOT check the value! |
137 if( mach->in(2) != val ) continue; |
137 if( mach->in(2) != val ) continue; |
138 break; // Found a memory op? |
138 break; // Found a memory op? |
139 case Op_StrComp: |
139 case Op_StrComp: |
|
140 case Op_StrEquals: |
|
141 case Op_StrIndexOf: |
140 case Op_AryEq: |
142 case Op_AryEq: |
141 // Not a legit memory op for implicit null check regardless of |
143 // Not a legit memory op for implicit null check regardless of |
142 // embedded loads |
144 // embedded loads |
143 continue; |
145 continue; |
144 default: // Also check for embedded loads |
146 default: // Also check for embedded loads |