aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-10-18 05:21:37 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-10-18 05:21:37 +0000
commit4ed4329c37f5a64c16ad4dc1960cbcb66b7118d4 (patch)
treed9dfab4b4e742c70ef6757dfc39a51a041db16f3 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent99fe34b9b2bb8786da6c7f6134ae17d4c2cd8bf7 (diff)
By min, I mean max.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 1304659833..d6c8a6561e 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -130,7 +130,7 @@ void LiveIntervals::computeNumbering() {
MIIndex += InstrSlots::NUM;
FunctionSize++;
- // Insert min(1, numdefs) empty slots after every instruction.
+ // Insert max(1, numdefs) empty slots after every instruction.
unsigned Slots = I->getDesc().getNumDefs();
if (Slots == 0)
Slots = 1;