By min, I mean max.

llvm-svn: 57766
This commit is contained in:
Evan Cheng 2008-10-18 05:21:37 +00:00
parent ac4e70d946
commit 2dadd3bbc6
1 changed files with 1 additions and 1 deletions

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;