Remove the now-unused experimental opcodes flag/functionality

This commit is contained in:
Ben Gruver
2016-09-04 16:58:01 -07:00
parent 30bdb7fda9
commit d7d995cc2d
21 changed files with 39 additions and 87 deletions

View File

@ -76,7 +76,7 @@ public class SmaliInstruction extends SmaliCompositeElement {
assert instructionNode != null;
// TODO: put a project level Opcodes instance with the appropriate api level somewhere
opcode = new Opcodes(15, false).getOpcodeByName(instructionNode.getText());
opcode = Opcodes.forApi(15).getOpcodeByName(instructionNode.getText());
if (opcode == null) {
if (instructionNode.getText().equals(".packed-switch")) {
return Opcode.PACKED_SWITCH_PAYLOAD;