Home | History | Annotate | Download | only in test

Lines Matching full:removed

10 // Test that nil checks are removed.
48 // This one should be removed but the block copy needs
54 // we don't registerize globals, so there are no removed repeated nil checks.
80 _ = *array0p // ERROR "removed repeated nil check"
81 _ = *intp // ERROR "removed repeated nil check"
82 _ = *arrayp // ERROR "removed repeated nil check"
85 _ = *arrayp // ERROR "removed repeated nil check"
86 _ = *bigarrayp // ERROR "generated nil check" ARM removed nil check before indirect!!
109 _ = x[9999] // ERROR "removed repeated nil check"
111 _ = x[9999] // ERROR "removed repeated nil check"
137 _ = &x[9] // ERROR "removed repeated nil check"
147 _ = &x[9] // ERROR "removed repeated nil check"
149 _ = &x[9] // ERROR "removed repeated nil check"
159 _ = x[9] // ERROR "removed nil check before indirect"
162 if x[9] != 0 { // ERROR "removed nil check before indirect"
168 _ = x[9] // ERROR "removed nil check before indirect"
170 _ = x[9] // ERROR "removed nil check before indirect"
172 _ = x[9] // ERROR "removed nil check before indirect"
174 _ = x[9] // ERROR "removed nil check before indirect"
178 _ = x[9] // ERROR "removed nil check before indirect"
182 _ = x[9] // ERROR "removed nil check before indirect"
185 _ = x[9] // ERROR "removed nil check before indirect"
191 _ = &x[9] // ERROR "removed repeated nil check"
193 _ = &x[9] // ERROR "removed repeated nil check"