Make sched class unsigned

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4336 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-28 04:59:43 +00:00
parent c7e65fb7d8
commit 07541a2711

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];
}