| 454 | } |
| 455 | |
| 456 | Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) { |
| 457 | if (re->simple()) { |
| 458 | *stop = true; |
| 459 | return re->Incref(); |
| 460 | } |
| 461 | return NULL; |
| 462 | } |
| 463 | |
| 464 | Regexp* SimplifyWalker::PostVisit(Regexp* re, |
| 465 | Regexp* parent_arg, |