Fix to record comparator to make it work for return values > 1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2008-11-13 12:03:00 +00:00
parent 20072af3b0
commit 023422a6eb

View File

@ -222,7 +222,7 @@ namespace {
return (*LHSVec)[i]->getName() < (*RHSVec)[i]->getName();
} while (++i != LHSSize);
if (i != RHSSize) return false;
if (i != RHSSize) return true;
i = 0;
LHSVec = &LHS.second;