diff options
author | Andreas Gampe <agampe@google.com> | 2014-07-04 18:02:38 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-07-12 13:33:12 -0700 |
commit | ccc60264229ac96d798528d2cb7dbbdd0deca993 (patch) | |
tree | 998378a38ca4d510090c7b4e7832379989354680 /compiler/dex/quick/x86/call_x86.cc | |
parent | bc9127a5d451058aede5562e2b015caec618d008 (diff) | |
download | android_art-ccc60264229ac96d798528d2cb7dbbdd0deca993.tar.gz android_art-ccc60264229ac96d798528d2cb7dbbdd0deca993.tar.bz2 android_art-ccc60264229ac96d798528d2cb7dbbdd0deca993.zip |
ART: Rework TargetReg(symbolic_reg, wide)
Make the standard implementation in Mir2Lir and the specialized one
in the x86 backend return a pair when wide = "true". Introduce
WideKind enumeration to improve code readability. Simplify generic
code based on this implementation.
Change-Id: I670d45aa2572eedfdc77ac763e6486c83f8e26b4
Diffstat (limited to 'compiler/dex/quick/x86/call_x86.cc')
-rw-r--r-- | compiler/dex/quick/x86/call_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/x86/call_x86.cc b/compiler/dex/quick/x86/call_x86.cc index 8e2a1e3532..b7441d7649 100644 --- a/compiler/dex/quick/x86/call_x86.cc +++ b/compiler/dex/quick/x86/call_x86.cc @@ -151,7 +151,7 @@ void X86Mir2Lir::GenFillArrayData(DexOffset table_offset, RegLocation rl_src) { // Making a call - use explicit registers FlushAllRegs(); /* Everything to home location */ - RegStorage array_ptr = TargetRefReg(kArg0); + RegStorage array_ptr = TargetReg(kArg0, kRef); RegStorage payload = TargetPtrReg(kArg1); RegStorage method_start = TargetPtrReg(kArg2); |