COFF: Add an assertion. NFC.

r239458 changed callee side of this function, so Live can never be
true when this function is called.

llvm-svn: 239705
This commit is contained in:
Rui Ueyama 2015-06-14 22:01:39 +00:00
parent 2bf6a12238
commit 4108f3f393
1 changed files with 1 additions and 2 deletions

View File

@ -64,8 +64,7 @@ void SectionChunk::writeTo(uint8_t *Buf) {
}
void SectionChunk::mark() {
if (Live)
return;
assert(!Live);
Live = true;
// Mark all symbols listed in the relocation table for this section.