OSDN Git Service

ART: Fix opsize in LoadArgDirect
authorAndreas Gampe <agampe@google.com>
Mon, 6 Jul 2015 21:00:39 +0000 (14:00 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 7 Jul 2015 16:46:45 +0000 (09:46 -0700)
commitdb05e31018ef4d1b46a43924b370f061c5457626
tree84a2f1e4da8b75c9a88f6448cb671c70a7e2bd5d
parentccbbda2b716bcc0dd9ad7b6c7bf9079efa3fca23
ART: Fix opsize in LoadArgDirect

If the destination register is a reference, use kReference for the
op size.

Bug: 22244733

(cherry picked from commit 185a5586c8b796e770e9b4b7ac2befa8ccdaca7e)

Change-Id: Idf52f2ee4c65b5dc41cb66257d95281dc6f32255
compiler/dex/quick/mir_to_lir.cc
test/800-smali/expected.txt
test/800-smali/smali/b_22244733.smali [new file with mode: 0644]
test/800-smali/src/Main.java