Fixed result storage of instruction with long constant operand

When generating native code from .dex file, ART needs to store
operation results correctly. There were incorrect results in
computations with long constant arguments. The cause is
inappropriate usage of registers storing result of such
operation which is not yet spilled into memory and is still
required for following instructions. There were mov-s into
these registers.

This patch ensures that the result of long operation with constant
operand will be stored properly.

Change-Id: Id65801eb76f0efb67515b73b8d01423205da1892
Signed-off-by: Maxim Kazantsev <maxim.kazantsev@intel.com>
1 file changed