diff options
author | Vladimir Marko <vmarko@google.com> | 2015-04-20 20:11:30 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2015-04-24 11:08:46 +0100 |
commit | 5ea536aa4a6414db01beaf6f8bd8cb9adc5cfc92 (patch) | |
tree | 27b3f1c148744452b26bd4841f0dabe0549c3d86 /compiler/oat_test.cc | |
parent | c5cb691ca6a746a193bfbe3525aafa7cbb281d40 (diff) | |
download | art-5ea536aa4a6414db01beaf6f8bd8cb9adc5cfc92.zip art-5ea536aa4a6414db01beaf6f8bd8cb9adc5cfc92.tar.gz art-5ea536aa4a6414db01beaf6f8bd8cb9adc5cfc92.tar.bz2 |
Remove ArtMethod* parameter from dex cache entry points.
Load the ArtMethod* using an optimized stack walk instead.
This reduces the size of the generated code.
Three of the entry points are called only from a slow-path
and the fourth (InitializeTypeAndVerifyAccess) is rare and
already slow enough that the one or two extra loads
(depending on whether we already have the ArtMethod* in a
register) are insignificant. And as we're starting to use
PC-relative addressing of the dex cache arrays (already
done by Quick for the boot image), having the ArtMethod* in
a register becomes less likely anyway.
Change-Id: Ib19b9d204e355e13bf386662a8b158178bf8ad28
Diffstat (limited to 'compiler/oat_test.cc')
0 files changed, 0 insertions, 0 deletions