int type = phys.getPhysicalRegisterType(r);
int type = OPT_PhysicalRegisterSet.getPhysicalRegisterType(r);
    final OPT_Register findAvailableRegister(CompoundInterval ci) {      if (ir.options.FREQ_FOCUS_EFFORT && ci.isInfrequent()) {        // don't bother trying to find an available register        return null;      }      OPT_Register r = ci.getRegister();      OPT_RegisterRestrictions restrict = ir.stackManager.getRestrictions();      // first attempt to allocate to the preferred register      if (COALESCE_MOVES) {        OPT_Register p = getPhysicalPreference(ci);        if (p != null) {          if (debugCoalesce) {            System.out.println("REGISTER PREFERENCE " + ci + " " + p);          }          return p;        }      }      OPT_PhysicalRegisterSet phys = ir.regpool.getPhysicalRegisterSet();      int type = phys.getPhysicalRegisterType(r);      // next attempt to allocate to a volatile      if (!restrict.allVolatilesForbidden(r)) {        for (Enumeration e = phys.enumerateVolatiles(type);              e.hasMoreElements(); ) {          OPT_Register p = (OPT_Register)e.nextElement();          if (allocateToPhysical(ci,p)) {            return p;          }        }      }      // next attempt to allocate to a Nonvolatile.  we allocate the      // novolatiles backwards.      for (Enumeration e = phys.enumerateNonvolatilesBackwards(type);           e.hasMoreElements(); ) {        OPT_Register p = (OPT_Register)e.nextElement();        if (allocateToPhysical(ci,p)) {          return p;        }      }      // no allocation succeeded.      return null;    }