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:
Evan Cheng 2008-10-18 05:21:37 +00:00
parent 99fe34b9b2
commit 4ed4329c37

View File

@ -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;