summaryrefslogtreecommitdiffstats
path: root/lld/COFF/Chunks.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-06-24 00:12:36 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-06-24 00:12:36 +0000
commitbd3a29d0638eef55f0855280c53e4badee35b130 (patch)
tree2eb0855f6cbd7270cd81978594ae23fd55067176 /lld/COFF/Chunks.cpp
parent2ed4c8f55d94d8b358a7d9945e7b49d68888cc1f (diff)
downloadbcm5719-llvm-bd3a29d0638eef55f0855280c53e4badee35b130.tar.gz
bcm5719-llvm-bd3a29d0638eef55f0855280c53e4badee35b130.zip
COFF: Remove unused field SectionChunk::SectionIndex.
llvm-svn: 240512
Diffstat (limited to 'lld/COFF/Chunks.cpp')
-rw-r--r--lld/COFF/Chunks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/COFF/Chunks.cpp b/lld/COFF/Chunks.cpp
index b931d11b7fe..10d18c1fb55 100644
--- a/lld/COFF/Chunks.cpp
+++ b/lld/COFF/Chunks.cpp
@@ -26,8 +26,8 @@ using namespace llvm::COFF;
namespace lld {
namespace coff {
-SectionChunk::SectionChunk(ObjectFile *F, const coff_section *H, uint32_t SI)
- : File(F), Header(H), SectionIndex(SI) {
+SectionChunk::SectionChunk(ObjectFile *F, const coff_section *H)
+ : File(F), Header(H) {
// Initialize SectionName.
File->getCOFFObj()->getSectionName(Header, SectionName);
OpenPOWER on IntegriCloud