mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user