mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-10-26 23:32:02 +03:00
eeb081a545
Summary: Release notes: Enhanced dead code elimination for optimized functions This resolves #2276: Visiting+emitting modified bindings now participates in the fixed point computation, checking for whether the modified binding is actually getting visited for other reasons. The previously existing code that did CSE by mutating the generator entry got removed, as it wouldn't work exactly like that anymore (can't return value because actual analysis gets postponed for fixed point computation). Filed #2286 to keep track of that and more needed changes around CSE for values stored in locations participating in effects tracking. --- Turns out that we didn't have a test anyway that would detect whether binding CSE happens or not. Added regression test. Pull Request resolved: https://github.com/facebook/prepack/pull/2287 Differential Revision: D8902345 Pulled By: NTillmann fbshipit-source-id: 6ba3fb9755312956829050f0278dee2d85d6a261 |
||
---|---|---|
.. | ||
error-handler | ||
react | ||
residual | ||
serializer | ||
source-maps | ||
std-in | ||
test262@e9a5a7f918 |