fix for NOP instructions

This commit is contained in:
Julian Dolby 2015-11-13 09:57:02 -05:00
parent 031ff4e121
commit d010e36923
1 changed files with 6 additions and 0 deletions

View File

@ -901,6 +901,12 @@ public class DexIMethod implements IBytecodeMethod {
throw new RuntimeException("UnresolvedOdexInstruction"
+ inst.opcode.toString() + inst.getFormat());
default:
instructions.add(new Instruction(currentCodeAddress, Opcode.NOP, this) {
@Override
public void visit(Visitor visitor) {
// no op
}
});
break;
}
break;