Make it less likely that Art lock verification gets confused.

When locking on argument values, use the argument register for all lock
operations whenever possible.

In all but the most obscure cases that should be possible. However,
it is not bullet-proof and when the argument registers become too high
we will have to use another register for it and lock verification
will get confused by the splitting and print a warning. That shouldn't
be treated as a fatal error, but we can attempt to avoid it as much
as possible.

R=acleung@google.com

Bug: 62475512
Change-Id: Ia4358e38aacfb90e79167d4b5144afa80d9cc30b
6 files changed
tree: 16cb7958887bf8b68312cc11b8ddebce011fb5bf
  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.