mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-24 07:35:04 +00:00
By min, I mean max.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99fe34b9b2
commit
4ed4329c37
@ -130,7 +130,7 @@ void LiveIntervals::computeNumbering() {
|
||||
MIIndex += InstrSlots::NUM;
|
||||
FunctionSize++;
|
||||
|
||||
// Insert min(1, numdefs) empty slots after every instruction.
|
||||
// Insert max(1, numdefs) empty slots after every instruction.
|
||||
unsigned Slots = I->getDesc().getNumDefs();
|
||||
if (Slots == 0)
|
||||
Slots = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user