summaryrefslogtreecommitdiffstats
path: root/compiler/file_output_stream.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2015-04-20 20:11:30 +0100
committerVladimir Marko <vmarko@google.com>2015-04-24 11:08:46 +0100
commit5ea536aa4a6414db01beaf6f8bd8cb9adc5cfc92 (patch)
tree27b3f1c148744452b26bd4841f0dabe0549c3d86 /compiler/file_output_stream.cc
parentc5cb691ca6a746a193bfbe3525aafa7cbb281d40 (diff)
downloadart-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/file_output_stream.cc')
0 files changed, 0 insertions, 0 deletions