facebook / redex

A bytecode optimizer for Android apps
https://fbredex.com/
MIT License
6.02k stars 653 forks source link

Move ObjectSensitiveDcePass internals to service/ #853

Closed wsanville closed 3 months ago

wsanville commented 5 months ago

Summary: LocalDce is easily callable to perform cleanups after a modification, but its capabilities are lacking compared to OSDCE. Take the pass contents and make OSDCE into a callable class so that its enhanced cleanup abilities can be used in a more targeted scope after modifications.

imjustmovingshitaround

Differential Revision: D55249208

facebook-github-bot commented 5 months ago

This pull request was exported from Phabricator. Differential Revision: D55249208

facebook-github-bot commented 5 months ago

This pull request was exported from Phabricator. Differential Revision: D55249208

facebook-github-bot commented 3 months ago

This pull request has been merged in facebook/redex@2d68015b3088bb6bae46e38b4dc3d1cfd97896e4.