commit | e585964df42e9fd2fab6f209810cb03e1b261ab1 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Jan 08 18:09:36 2021 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Jan 25 09:22:46 2021 +0000 |
tree | 35edc923e92389e4fcb0518289aacb72339f1247 | |
parent | 1bcd7cd823826e95827ea2d666291f56fcccb368 [diff] |
When entering nterp, take a fast path for instance calls with 1 argument. Such methods only take 'this' as an argument and we don't need to fetch the shorty. We can make this optimization when doing nterp->compiled as a follow-up, by checking that the next instruction after the invoke is not move-result(-wide). Test: test.py Bug: 112676029 Change-Id: Ibc7b4d4ca1c636f4ad6572484e0990ccdbd63293