summaryrefslogtreecommitdiff
path: root/compiler/optimizing/parallel_move_test.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-05-21 12:08:39 +0100
committerVladimir Marko <vmarko@google.com>2014-05-22 09:26:41 +0100
commita51a0b0300268b605e3ad71b0e87ff394032c5e7 (patch)
treea0a7be25a285c9249f13b968de48f393f6ea8500 /compiler/optimizing/parallel_move_test.cc
parentd3236731ca6145e0723ce8aab8c6ff634ab021c2 (diff)
Method inlining across dex files in boot image.
Fix LoadCodeAddress() and LoadMethodAddress() to use the dex file in addition to the method index to uniquely identify the literal. With that fix in place, when we have both the direct code and the direct method, we can safely pass the actual target method id instead of the method id from the same dex file in the method lowering info. This was already done for calls from apps into boot image (and thus there was a bug with a tiny risk of the wrong literal being used) and now we also do that for calls within the boot image. The latter allows the inlining pass to inline many more methods than before in the boot image. Bug: 15021903 Change-Id: Ic765ce9809b43ef07e7db32b8e3fbc9acb09147f
Diffstat (limited to 'compiler/optimizing/parallel_move_test.cc')
0 files changed, 0 insertions, 0 deletions