[COFF] ICF: use parallelForEach{,N}
authorFangrui Song <maskray@google.com>
Mon, 26 Nov 2018 20:07:07 +0000 (20:07 +0000)
committerFangrui Song <maskray@google.com>
Mon, 26 Nov 2018 20:07:07 +0000 (20:07 +0000)
commit4ed350d6c4b9a7526ea16b23dd638dc7cf62c602
treecf0e5f7ee461250990b304f732284af997a0e916
parentb0fd2db8fc35a91d9f8ae6683f0e9da0405f7172
[COFF] ICF: use parallelForEach{,N}

Summary: They have an additional `ThreadsEnabled` check, which does not matter much.

Reviewers: pcc, ruiu, rnk

Reviewed By: ruiu

Subscribers: llvm-commits

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

llvm-svn: 347587
lld/COFF/ICF.cpp