OSDN Git Service

AArch64: improve usage of TargetReg() and friends.
authorMatteo Franchin <matteo.franchin@arm.com>
Tue, 10 Jun 2014 18:23:45 +0000 (19:23 +0100)
committerAndreas Gampe <agampe@google.com>
Tue, 15 Jul 2014 18:18:50 +0000 (11:18 -0700)
commited7a0f2fb84b200ab6ef34e30dcbba4c0cf8d435
treeb0f05bc85deeb3f86ec478c6f5bd8525cd85dfce
parent524e5e3815d2b16ee77beda9976b7ec3aa54aba6
AArch64: improve usage of TargetReg() and friends.

TargetReg(arg1) does now always return a 32-bit register. We also avoid
using this function directly and rather use the two-arguments overload
or TargetPtrReg().

Change-Id: I746b3c29a2a2553b399b5c3e7ee3887c7e7c52c3
compiler/dex/quick/arm64/assemble_arm64.cc
compiler/dex/quick/arm64/codegen_arm64.h
compiler/dex/quick/arm64/target_arm64.cc
compiler/dex/quick/mir_to_lir.h