diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2021-01-08 18:09:36 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2021-01-25 09:22:46 +0000 |
commit | e585964df42e9fd2fab6f209810cb03e1b261ab1 (patch) | |
tree | 35edc923e92389e4fcb0518289aacb72339f1247 /compiler/optimizing/code_generator.cc | |
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
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions