OSDN Git Service

Use correct register class for refs
authorSerguei Katkov <serguei.i.katkov@intel.com>
Thu, 6 Nov 2014 08:45:44 +0000 (14:45 +0600)
committerSerguei Katkov <serguei.i.katkov@intel.com>
Tue, 11 Nov 2014 09:51:22 +0000 (15:51 +0600)
commit5c2555407d823356fb55ea3ffdf281aac00a583e
treeb73250856947c3421d1dc4684d493686aafbbbc8
parentfa7ec00ae4f9f8b1c8e1ad809155cfa675a0121d
Use correct register class for refs

LoadValue requires thar ref location should reguest kRefReg
register class. The patch fixes GenFilledNewArray to specify
the register class correctly.

This is a fix for the crash of dex2oat on 412-new-array unit test.

Change-Id: I58d969ddac0d84d4024bf686b5b0c12337ca9a37
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
compiler/dex/quick/gen_common.cc
test/Android.run-test.mk