public static void resolveDynamicLink (VM_OptCompiledMethod cm, int offset)
public static void resolveDynamicLink (VM_OptCompiledMethod cm, Offset offset)
  public static void resolveDynamicLink (VM_OptCompiledMethod cm, int offset)     throws NoClassDefFoundError {    VM_OptMachineCodeMap map = cm.getMCMap();    int bci = map.getBytecodeIndexForMCOffset(offset);    VM_NormalMethod realMethod = map.getMethodForMCOffset(offset);    if (bci == -1 || realMethod == null)      VM.sysFail("Mapping to source code location not available at Dynamic Linking point\n");    VM_BytecodeStream bcodes = realMethod.getBytecodes();    bcodes.reset(bci);    int opcode = bcodes.nextInstruction();    switch (opcode) {    case JBC_getfield: case JBC_putfield:     case JBC_getstatic: case JBC_putstatic:       VM_TableBasedDynamicLinker.resolveMember(bcodes.getFieldReference());      break;    case JBC_invokevirtual:case JBC_invokestatic:case JBC_invokespecial:             VM_TableBasedDynamicLinker.resolveMember(bcodes.getMethodReference());      break;    case JBC_invokeinterface:    default:      if (VM.VerifyAssertions)        VM._assert(VM.NOT_REACHED,                   "Unexpected case in VM_OptLinker.resolveDynamicLink");      break;    }  }