Fix for invoke-virtual/range with no register range.

This commit is contained in:
Izzat Bahadirov 2013-04-27 23:19:17 -04:00
parent d4e3ab3fd5
commit 389c3a6afa

View File

@ -1590,8 +1590,8 @@ public class MethodAnalyzer {
opcode = Opcode.INVOKE_VIRTUAL_RANGE;
}
deodexedInstruction = new ImmutableInstruction3rc(opcode, instruction.getRegisterCount(),
instruction.getStartRegister(), resolvedMethod);
deodexedInstruction = new ImmutableInstruction3rc(opcode, instruction.getStartRegister(),
instruction.getRegisterCount(), resolvedMethod);
} else {
Instruction35ms instruction = (Instruction35ms)analyzedInstruction.instruction;
Opcode opcode;