Two minor cleanups in pattern rewriter
authoradamk <adamk@chromium.org>
Wed, 30 Sep 2015 20:22:23 +0000 (13:22 -0700)
committerJongsoo Yoon <join.yoon@samsung.com>
Fri, 20 Nov 2015 13:32:16 +0000 (22:32 +0900)
commit111dea8b4622d64fe3a052191d522ba7857f1897
tree4ca2e19821df5b33f25390b916db918d7d39fa24
parent82915e94e18e73fdc563dfea9dc9287281c4cb22
Two minor cleanups in pattern rewriter

- No need to call AsVariableProxy() on a VariableProxy
- Reduce AST visitor boilerplate using pre-existing macro
  (and re-alphabetize the list of non-patterns).

R=littledan@chromium.org

Review URL: https://codereview.chromium.org/1376633005

Cr-Commit-Position: refs/heads/master@{#31032}
src/pattern-rewriter.cc