Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollforward of Fix bug in AggressiveInlineAliases causing properties …
…to be set to null This refactors GlobalNamespace to track whether or not a name has been 'unsafely' set to be inlined/collapse with an enum. The goal is to not change CollapseProperties behavior, and only change AggressiveInlineAliases behavior on aliases that are @constructor or @constructor properties. NEW: back off on some of the change - still inline usages of aliasing constructor props unsafely, but don't remove the aliasing definition *** Reason for rollback *** rollforward with fixes *** Original change description *** Automated g4 rollback *** Reason for rollback *** continuous build failure *** Original change description *** Fix bug in AggressiveInlineAliases causing properties to be set to null This bug was causing bad code to be output by the optimizations. AggressiveInlineAliases would inline constructor properties that also aliased another name, setting the ctor property to null, while there were still indirect references to the ctor property through an alias. *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218773950
- Loading branch information
1 parent
3de33d6
commit 2247415
Showing
6 changed files
with
437 additions
and
126 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.