src/share/classes/com/sun/tools/classfile/Instruction.java

changeset 437
a509a22f9845
parent 255
07da2ffbb76b
child 554
9d9f26857129
     1.1 --- a/src/share/classes/com/sun/tools/classfile/Instruction.java	Tue Nov 17 16:45:19 2009 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/classfile/Instruction.java	Thu Nov 19 11:38:38 2009 -0800
     1.3 @@ -106,9 +106,9 @@
     1.4          /** See {@link Kind#LOCAL_UBYTE}. */
     1.5          R visitLocalAndValue(Instruction instr, int index, int value, P p);
     1.6          /** See {@link Kind#DYNAMIC}. */
     1.7 -        R visitLookupSwitch(Instruction instr, int default_, int npairs, int[] matches, int[] offsets);
     1.8 +        R visitLookupSwitch(Instruction instr, int default_, int npairs, int[] matches, int[] offsets, P p);
     1.9          /** See {@link Kind#DYNAMIC}. */
    1.10 -        R visitTableSwitch(Instruction instr, int default_, int low, int high, int[] offsets);
    1.11 +        R visitTableSwitch(Instruction instr, int default_, int low, int high, int[] offsets, P p);
    1.12          /** See {@link Kind#BYTE}, {@link Kind#SHORT}. */
    1.13          R visitValue(Instruction instr, int value, P p);
    1.14          /** Instruction is unrecognized. */
    1.15 @@ -282,7 +282,7 @@
    1.16                          for (int i = 0; i < values.length; i++)
    1.17                              values[i] = getInt(pad + 12 + 4 * i);
    1.18                          return visitor.visitTableSwitch(
    1.19 -                                this, default_, low, high, values);
    1.20 +                                this, default_, low, high, values, p);
    1.21                      }
    1.22                      case LOOKUPSWITCH: {
    1.23                          int pad = align(pc + 1) - pc;
    1.24 @@ -295,7 +295,7 @@
    1.25                              offsets[i] = getInt(pad + 12 + i * 8);
    1.26                          }
    1.27                          return visitor.visitLookupSwitch(
    1.28 -                                this, default_, npairs, matches, offsets);
    1.29 +                                this, default_, npairs, matches, offsets, p);
    1.30                      }
    1.31                      default:
    1.32                          throw new IllegalStateException();

mercurial