From c9df172553ff401f031da33ba776ebae99ba0b09 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 15 Jan 2017 02:34:42 +0000 Subject: [PATCH] Fix typo. llvm-svn: 292044 --- lld/ELF/ICF.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/ELF/ICF.cpp b/lld/ELF/ICF.cpp index 32cd0f8a185c..f5eca23e4820 100644 --- a/lld/ELF/ICF.cpp +++ b/lld/ELF/ICF.cpp @@ -191,7 +191,7 @@ void ICF::segregate(size_t Begin, size_t End, bool Constant) { size_t Mid = Bound - Sections.begin(); // Now we split [Begin, End) into [Begin, Mid) and [Mid, End) by - // updating the sections in [Begin, End). We use Mid as an equivalence + // updating the sections in [Begin, Mid). We use Mid as an equivalence // class ID because every group ends with a unique index. for (size_t I = Begin; I < Mid; ++I) Sections[I]->Class[Next] = Mid; @@ -291,7 +291,7 @@ template size_t ICF::findBoundary(size_t Begin, size_t End) { // groups of sections, grouped by the class. // // This function calls Fn on every group that starts within [Begin, End). -// Note that a group must starts in that range but doesn't necessarily +// Note that a group must start in that range but doesn't necessarily // have to end before End. template void ICF::forEachClassRange(size_t Begin, size_t End,