forked from OSchip/llvm-project
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:
parent
2bf6a12238
commit
4108f3f393
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue