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>
Thu, 13 Nov 2014 03:54:07 +0000 (09:54 +0600)
commit27503548bc8945da875240751dcd4b1495584669
tree5f30d98b75356afc0919e0227021c764287bf1d0
parent401da919c67ceb8fbcac81596327ecc10b73389b
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.
This is a second attempt with an additional fix for arm64.

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