Skip to content

Commit 2458576

Browse files
committed
[asm-cherry-pick] Associate LabelNodes with their corresponding label
Cherry-pick of 22ee2df It looks like this is a bugfix that should be handed upstream to the ASM authors.
1 parent eccd0dc commit 2458576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asm/scala/tools/asm/tree/MethodNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ public void visitEnd() {
622622
*/
623623
protected LabelNode getLabelNode(final Label l) {
624624
if (!(l.info instanceof LabelNode)) {
625-
l.info = new LabelNode();
625+
l.info = new LabelNode(l);
626626
}
627627
return (LabelNode) l.info;
628628
}

0 commit comments

Comments
 (0)