commit | fc475d644e6da9968673a7509085a7e9a3b0c531 | [log] [tgz] |
---|---|---|
author | Mads Ager <ager@google.com> | Thu Jun 08 15:53:04 2017 +0200 |
committer | Mads Ager <ager@google.com> | Thu Jun 08 15:53:04 2017 +0200 |
tree | 00b7169b41fd940fb6129fc5ab7a6bb8dd5dc06e | |
parent | 0b17c70cc42e43309a5a2c82f00fa69d42e13494 [diff] |
Introduce fewer argument moves for ranged invokes. When a ranged invoke is just forwarding a sub-sequence of the incoming argument registers there is no need to introduce moves that might end up being materialized. Instead we can use the original argument registers. This is the first patch set of https://r8-review.googlesource.com/c/1360/ with the addition of special handling for getting the allocated register for ranged invokes. Gives around 10kB savings on dexing the gmscore v10 deploy jar. R=mikaelpeltier@google.com Change-Id: I6ee816cb2ffffdaadd44f4af2b2ba18d9ebadd14
The R8 repo contains two tools.
D8 is a dexer that converts java byte code to dex code.
R8 is a java program shrinking and minification tool.