Merge "Use ASM6 Opcodes everywhere in locked_region_code_injection"

This commit is contained in:
Benoit Lamarche
2017-10-24 08:42:10 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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.