Make sched class unsigned

llvm-svn: 4336
This commit is contained in:
Chris Lattner 2002-10-28 04:59:43 +00:00
parent 14926845fb
commit e1a3de779e
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ MachineSchedInfo::computeInstrResources(const std::vector<InstrRUsage>&
// First get the resource usage information from the class resource usages.
for (MachineOpCode op = 0; op < numOpCodes; ++op) {
InstrSchedClass sc = getSchedClass(op);
assert(sc >= 0 && sc < numSchedClasses);
assert(sc < numSchedClasses);
instrRUsages[op] = instrRUForClasses[sc];
}