mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-04 00:37:46 +00:00
Updated ASM library (ASM 5)
This commit is contained in:
@@ -49,7 +49,7 @@ public class VarInsnNode extends AbstractInsnNode {
|
||||
public int var;
|
||||
|
||||
/**
|
||||
* Constructs a new {@link org.objectweb.asm.tree.VarInsnNode}.
|
||||
* Constructs a new {@link VarInsnNode}.
|
||||
*
|
||||
* @param opcode
|
||||
* the opcode of the local variable instruction to be
|
||||
@@ -84,10 +84,11 @@ public class VarInsnNode extends AbstractInsnNode {
|
||||
@Override
|
||||
public void accept(final MethodVisitor mv) {
|
||||
mv.visitVarInsn(opcode, var);
|
||||
acceptAnnotations(mv);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AbstractInsnNode clone(final Map<LabelNode, LabelNode> labels) {
|
||||
return new VarInsnNode(opcode, var);
|
||||
return new VarInsnNode(opcode, var).cloneAnnotations(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user