[parser] Simplify ParseFunctionBody
- Merge is_simple branches at the top - Remove block around inner_body parsing. Always merge fully at the end. - Remove conditional inner block adding to outer body. Simply add it to the inner body making merge push it to the parent. Change-Id: I1f062918a7abac354b949136463517bd0440984f Reviewed-on: https://chromium-review.googlesource.com/c/1386111 Commit-Queue: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#58390}
Showing
Please
register
or
sign in
to comment