Eliminate the distinction between "real" and "unreal" instructions
[oota-llvm.git] / lib / CodeGen / InstrSched / InstrScheduling.cpp
index b273bcb05a130687cc6549efaeb94ba78f991c14..5395a8197cffd011ab8e5726e224830c9bbc4778 100644 (file)
@@ -520,7 +520,7 @@ SchedulingManager::SchedulingManager(const TargetMachine& target,
     nextEarliestIssueTime(0),
     choicesForSlot(nslots),
     numInClass(target.getSchedInfo().getNumSchedClasses(), 0), // set all to 0
-    nextEarliestStartTime(target.getInstrInfo().getNumRealOpCodes(),
+    nextEarliestStartTime(target.getInstrInfo().getNumOpcodes(),
                          (cycles_t) 0)                         // set all to 0
 {
   updateTime(0);