[lld][WebAssembly] Refactor markLive.cpp. NFC
authorSam Clegg <sbc@chromium.org>
Thu, 10 Oct 2019 03:23:06 +0000 (03:23 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 10 Oct 2019 03:23:06 +0000 (03:23 +0000)
commitad2e12a3d99618e3ca0935e33d8400e38d531f7b
tree9e26d7a5d937e90162f10082a467f46e6b3fc601
parente398def943821b77fd4711620dc831826ec21324
[lld][WebAssembly] Refactor markLive.cpp. NFC

This pattern matches the ELF implementation add if also useful as
part of a planned change where running `mark` more than once is needed.

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

llvm-svn: 374275
lld/wasm/MarkLive.cpp