forked from OSchip/llvm-project
Silence warning with assertions disabled.
llvm-svn: 305485
This commit is contained in:
parent
ae9312c487
commit
7e85b26549
|
@ -371,6 +371,7 @@ void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
|
|||
unsigned Partition, bool InSummary) {
|
||||
auto *ResI = Res.begin();
|
||||
auto *ResE = Res.end();
|
||||
(void)ResE;
|
||||
for (const InputFile::Symbol &Sym : Syms) {
|
||||
assert(ResI != ResE);
|
||||
SymbolResolution Res = *ResI++;
|
||||
|
|
Loading…
Reference in New Issue