Simplify. NFC.

llvm-svn: 296620
This commit is contained in:
Rafael Espindola
2017-03-01 14:21:31 +00:00
parent bd12e2a0ce
commit bedccb5e78

View File

@@ -495,7 +495,7 @@ template <class ELFT> void LinkerScript<ELFT>::process(BaseCommand &Base) {
if (!IB->Live)
continue;
switchTo(IB->OutSec);
assert(CurOutSec == IB->OutSec || AlreadyOutputOS.count(IB->OutSec));
output(cast<InputSection>(IB));
}
}