Commit 21219395 authored by Lubomir Bulej's avatar Lubomir Bulej

Use ASM6 API level in TLVInserter.

parent 030bdeea
package ch.usi.dag.disl;
import org.objectweb.asm.*;
import org.objectweb.asm.commons.AdviceAdapter;
import java.util.Set;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.commons.AdviceAdapter;
final class TLVInserter extends ClassVisitor {
......@@ -21,7 +25,7 @@ final class TLVInserter extends ClassVisitor {
//
public TLVInserter (final ClassVisitor cv, final Set <ThreadLocalVar> tlvs) {
super (Opcodes.ASM5, cv);
super (Opcodes.ASM6, cv);
__threadLocals = tlvs;
}
......@@ -88,7 +92,7 @@ final class TLVInserter extends ClassVisitor {
final MethodVisitor mv,
final int access, final String name, final String desc
) {
super (Opcodes.ASM5, mv, access, name, desc);
super (Opcodes.ASM6, mv, access, name, desc);
assert JavaNames.isConstructorName (name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment