Renamed inst_const_iterator -> const_inst_iterator
[oota-llvm.git] / lib / Target / SparcV9 / InstrSched / SchedPriorities.cpp
index acbe552d0526a3bb276b74ac9d9d496dcf45378f..17697072381d1588e79f37010f3912254fbdac02 100644 (file)
@@ -268,7 +268,7 @@ SchedPriorities::instructionHasLastUse(MethodLiveVarInfo& methodLiveVarInfo,
   const LiveVarSet* liveVars =
     methodLiveVarInfo.getLiveVarSetBeforeMInst(minstr, bb);
   
-  for (MachineInstr::val_op_const_iterator vo(minstr); ! vo.done(); ++vo)
+  for (MachineInstr::val_const_op_iterator vo(minstr); ! vo.done(); ++vo)
     if (liveVars->find(*vo) == liveVars->end())
       {
        hasLastUse = true;