mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +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;
|
MIIndex += InstrSlots::NUM;
|
||||||
FunctionSize++;
|
FunctionSize++;
|
||||||
|
|
||||||
// Insert min(1, numdefs) empty slots after every instruction.
|
// Insert max(1, numdefs) empty slots after every instruction.
|
||||||
unsigned Slots = I->getDesc().getNumDefs();
|
unsigned Slots = I->getDesc().getNumDefs();
|
||||||
if (Slots == 0)
|
if (Slots == 0)
|
||||||
Slots = 1;
|
Slots = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user