Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make J2clConstantHoisterPass optimize stub static field initializations
e.g.: function clinit() { foo = true; } var foo; Also optimize the case where the initialization comes before the clinit. e.g.: var foo; function clinit() { foo = true; } ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175738294
- Loading branch information
1 parent
9dc0353
commit 5e4850c
Showing
2 changed files
with
79 additions
and
25 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
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