Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify generators with a few (< 4) "case"s and inline them directly…
… so that: switch ($context.nextAddress) { case 1: a(); case 2: b(); case 3: c(); } is simplified to: if ($context.nextAddress == 1) a(); if ($context.nextAddress != 3) b(); c(); ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=192259507
- Loading branch information
1 parent
61c851d
commit 49e24ed
Showing
3 changed files
with
462 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.