OSDN Git Service

Fix a MOV instruction in Optimizing's x86-64 code generator.
authorRoland Levillain <rpl@google.com>
Wed, 1 Jul 2015 11:47:25 +0000 (12:47 +0100)
committerRoland Levillain <rpl@google.com>
Wed, 1 Jul 2015 11:48:31 +0000 (12:48 +0100)
commit06b66d05a6251d91b5e2516f579bfff5fa49191c
tree82edce66106b31acad30562463a78eef1abb68bc
parentbbcc01a5a38d28c221c05788e56473a287f57589
Fix a MOV instruction in Optimizing's x86-64 code generator.

Use `movl' instead of `movw' to store a 32-bit immediate
(integer or reference) into a field.

Also fix art::Location::RegisterOrInt32LongConstant to
properly handle non-long constants.

Change-Id: I34c6ec8eaa1632822a31969f87c9c2d6c5b96326
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/locations.cc
test/521-regression-integer-field-set/expected.txt [new file with mode: 0644]
test/521-regression-integer-field-set/info.txt [new file with mode: 0644]
test/521-regression-integer-field-set/src/Main.java [new file with mode: 0644]