(Hopefully) Fixed construction of dalvik goto instructions.
This commit is contained in:
parent
42e5ec14e6
commit
4767929b66
|
@ -766,7 +766,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void visitGoto(Goto instruction) {
|
public void visitGoto(Goto instruction) {
|
||||||
emitInstruction(insts.GotoInstruction(getCurrentInstructionIndex(), -1));
|
emitInstruction(insts.GotoInstruction(getCurrentInstructionIndex(), method.getInstructionIndex(instruction.pc + instruction.destination)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue