Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates
PeepholeRemoveDeadCode
to preserve side-effectful SPREADs.
Since SPREAD is not an expression, this update parents them under ARRAYLITs so they can be freely relocated. ARRAYLITs containing such SPREADs are considered to have side-effects, despite the fact that ARRAYLITs themselves do not. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=239057715
- Loading branch information
Showing
2 changed files
with
201 additions
and
116 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.