(final Label label)
| 798 | } |
| 799 | |
| 800 | public void visitLabel (final Label label) { |
| 801 | if (CHECK) { |
| 802 | if (label.owner == null) { |
| 803 | label.owner = this; |
| 804 | } else if (label.owner != this) { |
| 805 | throw new IllegalArgumentException(); |
| 806 | } |
| 807 | } |
| 808 | if (computeMaxs) { |
| 809 | if (currentBlock != null) { |
| 810 | // ends current block (with one new successor) |
| 811 | currentBlock.maxStackSize = maxStackSize; |
| 812 | addSuccessor(stackSize, label); |
| 813 | } |
| 814 | // begins a new current block, |
| 815 | // resets the relative current and max stack sizes |
| 816 | currentBlock = label; |
| 817 | stackSize = 0; |
| 818 | maxStackSize = 0; |
| 819 | } |
| 820 | // resolves previous forward references to label, if any |
| 821 | resize |= label.resolve(this, code.length, code.data); |
| 822 | } |
| 823 | |
| 824 | public void visitLdcInsn (final Object cst) { |
| 825 | Item i = cw.newCst(cst); |
nothing calls this directly
no test coverage detected