Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7eb610b authored by Benoit Lamarche's avatar Benoit Lamarche
Browse files

Use ASM6 Opcodes everywhere in locked_region_code_injection

And use the same constant everywhere.

Test: treehugger
Bug: 67676752
Change-Id: I5735aba76266118471677f962fab50dbb0be187b
parent d5d697b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ class LockFindingClassVisitor extends ClassVisitor {
        private MethodVisitor chain;

        public LockFindingMethodVisitor(String owner, MethodNode mn, MethodVisitor chain) {
            super(Opcodes.ASM6, mn);
            super(Utils.ASM_VERSION, mn);
            assert owner != null;
            this.owner = owner;
            this.chain = chain;
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ import org.objectweb.asm.Opcodes;

public class Utils {

    public static final int ASM_VERSION = Opcodes.ASM5;
    public static final int ASM_VERSION = Opcodes.ASM6;

    /**
     * Reads a comma separated configuration similar to the Jack definition.