Lines Matching refs:newsub
204 Regexp* newsub = child_args[i]; in PostVisit() local
205 if (newsub != sub) { in PostVisit()
212 Regexp* newsub = child_args[i]; in PostVisit() local
213 newsub->Decref(); in PostVisit()
228 Regexp* newsub = child_args[0]; in PostVisit() local
229 if (newsub == re->sub()[0]) { in PostVisit()
230 newsub->Decref(); in PostVisit()
236 nre->sub()[0] = newsub; in PostVisit()
245 Regexp* newsub = child_args[0]; in PostVisit() local
248 if (newsub->op() == kRegexpEmptyMatch) in PostVisit()
249 return newsub; in PostVisit()
252 if (newsub == re->sub()[0]) { in PostVisit()
253 newsub->Decref(); in PostVisit()
259 if (re->op() == newsub->op() && in PostVisit()
260 re->parse_flags() == newsub->parse_flags()) in PostVisit()
261 return newsub; in PostVisit()
265 nre->sub()[0] = newsub; in PostVisit()
271 Regexp* newsub = child_args[0]; in PostVisit() local
274 if (newsub->op() == kRegexpEmptyMatch) in PostVisit()
275 return newsub; in PostVisit()
277 Regexp* nre = SimplifyRepeat(newsub, re->min_, re->max_, in PostVisit()
279 newsub->Decref(); in PostVisit()