int type = phys.getPhysicalRegisterType(r);
int type = OPT_PhysicalRegisterSet.getPhysicalRegisterType(r);
    SpillLocationInterval findOrCreateSpillLocation(CompoundInterval ci) {      SpillLocationInterval result = null;      OPT_Register r = ci.getRegister();      OPT_PhysicalRegisterSet phys = ir.regpool.getPhysicalRegisterSet();      int type = phys.getPhysicalRegisterType(r);      if (type == -1) {        type = DOUBLE_REG;      }      int spillSize = OPT_PhysicalRegisterSet.getSpillSize(type);      // Search the free intervals and try to find an interval to      // reuse. First look for the preferred interval.      if (COALESCE_SPILLS) {        result = getSpillPreference(ci,spillSize);        if (result != null) {          if (debugCoalesce) {            System.out.println("SPILL PREFERENCE " + ci + " " + result);          }          freeIntervals.remove(result);        }      }      // Now search for any free interval.      if (result == null) {        for (Iterator i = freeIntervals.iterator(); i.hasNext(); ) {          SpillLocationInterval s = (SpillLocationInterval)i.next();          if (s.getSize() == spillSize && !s.intersects(ci)) {            result = s;            freeIntervals.remove(result);            break;          }        }      }      if (result == null) {        // Could not find an interval to reuse.  Create a new interval.        int location = ir.stackManager.allocateNewSpillLocation(type);        result = new SpillLocationInterval(location,spillSize);      }      // Update the spill location interval to hold the new spill      result.addAll(ci);      return result;    }