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:
@@ -46,7 +46,7 @@ public class IntInsnNode extends AbstractInsnNode {
|
||||
public int operand;
|
||||
|
||||
/**
|
||||
* Constructs a new {@link org.objectweb.asm.tree.IntInsnNode}.
|
||||
* Constructs a new {@link IntInsnNode}.
|
||||
*
|
||||
* @param opcode
|
||||
* the opcode of the instruction to be constructed. This opcode
|
||||
@@ -78,10 +78,11 @@ public class IntInsnNode extends AbstractInsnNode {
|
||||
@Override
|
||||
public void accept(final MethodVisitor mv) {
|
||||
mv.visitIntInsn(opcode, operand);
|
||||
acceptAnnotations(mv);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AbstractInsnNode clone(final Map<LabelNode, LabelNode> labels) {
|
||||
return new IntInsnNode(opcode, operand);
|
||||
return new IntInsnNode(opcode, operand).cloneAnnotations(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user