Update heuristics to compute live range of constant

- Keep constant alive for a shorter range slightly decrease dex size of
GMSCore v9 and V10 (few bytes) in release mode but it allow to decrease
the dex size for the case in the attached bug to 55324 bytes instead
of 64268 bytes in release mode and to 56380 bytes instead of 60460 bytes.

Bug: 62475297
Change-Id: I42c1cf99f44714b249c62e45efbab4ac4d7e8b26
1 file changed
tree: 71c877fe47e13293dccf11ccf61d60cc9407a338
  1. buildSrc/
  2. scripts/
  3. src/
  4. tests/
  5. third_party/
  6. tools/
  7. .gitignore
  8. AUTHORS
  9. build.gradle
  10. codereview.settings
  11. CONTRIBUTING.md
  12. copyAdditionalJctfCommonFiles.gradle
  13. LICENSE
  14. README.md
README.md

The R8 repo contains two tools.

  1. D8 is a dexer that converts java byte code to dex code.

  2. R8 is a java program shrinking and minification tool.