Skip to content

Conversation

@Lunderberg
Copy link
Contributor

Prior to this commit, pure arguments to impure functions could be erroneously removed, if the impure function's result is unused. This commit updates the variable usage tracking in dead-code elimination to consider both function return values and arguments to impure functions as externally-exposed values.

Prior to this commit, pure arguments to impure functions could be
erroneously removed, if the impure function's result is unused.  This
commit updates the variable usage tracking in dead-code elimination to
consider both function return values and arguments to impure functions
as externally-exposed values.
@tqchen tqchen merged commit eb20534 into apache:unity Nov 7, 2023
@Lunderberg Lunderberg deleted the unity_bugfix_remove_unused_bindings branch November 7, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants