mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
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:
parent
c7e65fb7d8
commit
07541a2711
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user