Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Commit 7bb61b5

Browse files
lrytzCarsten Varming
authored andcommitted
[asm-cherry-pick] Associate LabelNodes with their corresponding label
Cherry-pick of lrytz/scala@2458576
1 parent ceffb2c commit 7bb61b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)