forked from OSchip/llvm-project
parent
ac4e70d946
commit
2dadd3bbc6
|
@ -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