end.operator = IA32_FMOV_ENDING_LIVE_RANGE;
OPT_Operand value = MIR_Move.getValue(end); if (value.isRegister()) { if (VM.VerifyAssertions) VM.assert(MIR_Move.getValue(end).asRegister().register == reg); end.operator = IA32_FMOV_ENDING_LIVE_RANGE; }
    private CompoundInterval processLiveInterval(OPT_LiveIntervalElement live,                                                  OPT_BasicBlock bb) {      // get the reg and (adjusted) begin, end pair for this interval      OPT_Register reg = live.getRegister();      int dfnend = getDfnEnd(live, bb);      int dfnbegin = getDfnBegin(live, bb);      // mutate FMOVs that end live ranges      if (MUTATE_FMOV) {        if (reg.isFloatingPoint()) {          OPT_Instruction end = live.getEnd();          if (end != null && end.operator == IA32_FMOV) {            if (dfnend == dfnbegin) {              // if end, an FMOV, both begins and ends the live range,              // then end is dead.  Change it to a NOP.               Empty.mutate(end,NOP);            } else {              //if (VM.VerifyAssertions) {	      //VM.assert(MIR_Move.getValue(end).asRegister().register == reg);              //}              end.operator = IA32_FMOV_ENDING_LIVE_RANGE;            }          }        }      }      // check for an existing live interval for this register      CompoundInterval existingInterval = getInterval(reg);      if (existingInterval == null) {        // create a new live interval        CompoundInterval newInterval = new CompoundInterval(dfnbegin,                                                            dfnend,reg);        if (debug) System.out.println("created a new interval " + newInterval);        // associate the interval with the register         OPT_NewLinearScan.setInterval(reg, newInterval);        // add the new interval to the sorted set of intervals.          intervals.insert(newInterval.getFirstBasicInterval());        return newInterval;      } else {        // add the new live range to the existing interval        existingInterval.addRange(live,bb);        if (debug) System.out.println("Extended old interval " + existingInterval);        return existingInterval;      }     }