commit | fa9a08369ed46369d6d3836d3e38cce9025e1747 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Thu Dec 17 10:43:58 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Dec 17 19:35:35 2020 +0000 |
tree | 4d46c28c6c516c744b3ec2f993b7222d50478ade | |
parent | 6ea387e7c751cbfd3b0cc3267b95808550448ded [diff] |
Remove unnecessary Blocks from the inliner. If we aren't wrapping the inlined function body in a loop, there's no need to add a scopeless Block; we've already got one. This doesn't affect the final output meaningfully--it just suppresses a newline--but it's one fewer IRNode allocation. Change-Id: Ib7b0014e908586d8acfcf6c23520873fad31d0b7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345163 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>