Merge "Use ASM6 Opcodes everywhere in locked_region_code_injection"
This commit is contained in:
@@ -76,7 +76,7 @@ class LockFindingClassVisitor extends ClassVisitor {
|
|||||||
private MethodVisitor chain;
|
private MethodVisitor chain;
|
||||||
|
|
||||||
public LockFindingMethodVisitor(String owner, MethodNode mn, MethodVisitor chain) {
|
public LockFindingMethodVisitor(String owner, MethodNode mn, MethodVisitor chain) {
|
||||||
super(Opcodes.ASM6, mn);
|
super(Utils.ASM_VERSION, mn);
|
||||||
assert owner != null;
|
assert owner != null;
|
||||||
this.owner = owner;
|
this.owner = owner;
|
||||||
this.chain = chain;
|
this.chain = chain;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import org.objectweb.asm.Opcodes;
|
|||||||
|
|
||||||
public class Utils {
|
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.
|
* Reads a comma separated configuration similar to the Jack definition.
|
||||||
|
|||||||
Reference in New Issue
Block a user