Lines Matching refs:label

519             // creates and visits the label for the first basic block
1007 public void visitJumpInsn(final int opcode, final Label label) {
1014 // 'label' is the target of a jump instruction
1015 label.getFirst().status |= Label.TARGET;
1016 // adds 'label' as a successor of this basic block
1017 addSuccessor(Edge.NORMAL, label);
1024 if ((label.status & Label.SUBROUTINE) == 0) {
1025 label.status |= Label.SUBROUTINE;
1029 addSuccessor(stackSize + 1, label);
1043 addSuccessor(stackSize, label);
1048 if ((label.status & Label.RESOLVED) != 0
1049 && label.position - code.length < Short.MIN_VALUE) {
1072 label.put(this, code, code.length - 1, true);
1081 label.put(this, code, code.length - 1, false);
1087 // adds the label of this next instruction as a successor of the
1098 public void visitLabel(final Label label) {
1099 // resolves previous forward references to label, if any
1100 resize |= label.resolve(this, code.length, code.data);
1102 if ((label.status & Label.DEBUG) != 0) {
1107 if (label.position == currentBlock.position) {
1109 currentBlock.status |= (label.status & Label.TARGET);
1110 label.frame = currentBlock.frame;
1114 addSuccessor(Edge.NORMAL, label);
1117 currentBlock = label;
1118 if (label.frame == null) {
1119 label.frame = new Frame();
1120 label.frame.owner = label;
1124 if (label.position == previousBlock.position) {
1125 previousBlock.status |= (label.status & Label.TARGET);
1126 label.frame = previousBlock.frame;
1130 previousBlock.successor = label;
1132 previousBlock = label;
1137 addSuccessor(stackSize, label);
1140 currentBlock = label;
1146 previousBlock.successor = label;
1148 previousBlock = label;
1463 // goes to the next label
1580 // goes to the next label
2403 int u, v, label; // indexes in b
2459 label = u + readUnsignedShort(b, u + 1);
2461 label = u + readShort(b, u + 1);
2463 newOffset = getNewOffset(allIndexes, allSizes, u, label);
2597 label = u + readUnsignedShort(b, u + 1);
2599 label = u + readShort(b, u + 1);
2601 newOffset = getNewOffset(allIndexes, allSizes, u, label);
2628 label = u + readInt(b, u + 1);
2629 newOffset = getNewOffset(allIndexes, allSizes, u, label);
2641 label = v + readInt(b, u);
2643 newOffset = getNewOffset(allIndexes, allSizes, v, label);
2652 label = v + readInt(b, u);
2654 newOffset = getNewOffset(allIndexes, allSizes, v, label);
2665 label = v + readInt(b, u);
2667 newOffset = getNewOffset(allIndexes, allSizes, v, label);
2675 label = v + readInt(b, u);
2677 newOffset = getNewOffset(allIndexes, allSizes, v, label);
2726 * instruction). Note that we need the original label position
2728 * this label.
2781 label = readUnsignedShort(b, u);
2782 newOffset = getNewOffset(allIndexes, allSizes, 0, label);
2784 label += readUnsignedShort(b, u + 2);
2785 newOffset = getNewOffset(allIndexes, allSizes, 0, label)
2918 * Updates the offset of the given label.
2934 * @param label
2935 * the label whose offset must be updated.
2938 final Label label) {
2939 if ((label.status & Label.RESIZED) == 0) {
2940 label.position = getNewOffset(indexes, sizes, 0, label.position);
2941 label.status |= Label.RESIZED;