commit | 8d36591d93920e7b7830c3ffee3759b561f5339e | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Tue Jan 13 11:32:32 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Tue Jan 13 11:32:32 2015 -0800 |
tree | 3217249ce513848ed93dcec981d6ed4c13c2fc60 | |
parent | 8fccea249b1a6f1469eeea42c2b2cca06ce1c70d [diff] [blame] |
ART: Use jalr instead of jr for Mips Use the jalr instruction instead of jr in stubs and compiled code. Change-Id: Idacc5167a5bb0113dc2e7716e4767e5ed07b5e0b
diff --git a/compiler/dex/quick/mips/utility_mips.cc b/compiler/dex/quick/mips/utility_mips.cc index 18f1cde..adb9270 100644 --- a/compiler/dex/quick/mips/utility_mips.cc +++ b/compiler/dex/quick/mips/utility_mips.cc
@@ -125,7 +125,7 @@ opcode = kMipsJalr; break; case kOpBx: - return NewLIR1(kMipsJr, r_dest_src.GetReg()); + return NewLIR2(kMipsJalr, rZERO, r_dest_src.GetReg()); break; default: LOG(FATAL) << "Bad case in OpReg";