mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
Remove the now-unused experimental opcodes flag/functionality
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user