[WebAssembly] Unify concepts of discarded and non-live input chunks. NFC.
authorSam Clegg <sbc@chromium.org>
Tue, 13 Feb 2018 20:29:38 +0000 (20:29 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 13 Feb 2018 20:29:38 +0000 (20:29 +0000)
commit447ae4044dd37c30f01e250a5a6101002ad77e87
tree420949272aeb449bb9ed8a322fc5dd0c9237e43f
parenta189230bf511c681497483f907ac34c525a6bea5
[WebAssembly] Unify concepts of discarded and non-live input chunks. NFC.

It seems redundant to store this information twice.  None of the
locations where this bit is checked care about the distinction.

Differential Revision: https://reviews.llvm.org/D43250

llvm-svn: 325046
lld/wasm/InputChunks.h
lld/wasm/InputFiles.cpp
lld/wasm/Writer.cpp