diff options
author | 2021-10-18 23:08:53 +0100 | |
---|---|---|
committer | 2021-11-02 09:54:33 +0000 | |
commit | fa66389fbeeb2b4a6e1e1f5805653222f424a9bf (patch) | |
tree | 4f5d92a128f1e98078bffd314f386cb3c9bb33f1 /compiler/utils/jni_macro_assembler.h | |
parent | ee6c1b17ca966995539ce3e29fb416ec1a93beef (diff) |
Inline ResolveMethod and ResolveField in nterp
They are on very hot path (field and method opcodes).
This makes up startup ~1% faster with interpreter.
The methods are fairly big and spill most registers,
but the DexCache-hit fastpath requires no spills.
Rather than refactoring the methods, it is easier
to just inline them, since the caller already spills.
Test: test.py -b --host
Change-Id: I60221e3aa819378ed2f353044cfdfe6cbc51237d
Diffstat (limited to 'compiler/utils/jni_macro_assembler.h')
0 files changed, 0 insertions, 0 deletions