commit | 43c9cd7938a53265ea9899a604b409ce070cc2c5 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Mar 10 15:09:19 2021 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Mar 24 16:47:38 2021 +0000 |
tree | db084fcc115d6a68de25662bf1a5fae030bcf152 | |
parent | 443fc8962db219177c34cd047d2071b5ee775468 [diff] |
Improve nterp -> compiled code transitions. Use an unused bit in the access flags of an ArtMethod (0x00200000) to store the information a method only takes ints or references and returns an int, a reference, or a long. This avoids the need to fetch the shorty in nterp when doing a call. Test: test.py Test: 821-many-args Bug: 112676029 Change-Id: Ie657ccf69c17c1097dc2a97f18e3093ef3be391b