mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
241b35463c
When PruneMaybeThrows removes maybe-throw terminals, it's possible that the block in question reassigned a value s.t. it appears as a later phi operand. That phi has to be rewritten to reflect the updated predecessor block. Here we track these rewrites (transitively) and rewrite phi operands accordingly.