[lld] r248526 - COFF: Remove duplicate parameter from hash value calculation.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 12:00:42 PDT 2015


Author: ruiu
Date: Thu Sep 24 14:00:42 2015
New Revision: 248526

URL: http://llvm.org/viewvc/llvm-project?rev=248526&view=rev
Log:
COFF: Remove duplicate parameter from hash value calculation.

Modified:
    lld/trunk/COFF/ICF.cpp

Modified: lld/trunk/COFF/ICF.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/ICF.cpp?rev=248526&r1=248525&r2=248526&view=diff
==============================================================================
--- lld/trunk/COFF/ICF.cpp (original)
+++ lld/trunk/COFF/ICF.cpp Thu Sep 24 14:00:42 2015
@@ -86,7 +86,6 @@ uint64_t ICF::getHash(SectionChunk *C) {
                       hash_value(C->SectionName),
                       C->NumRelocs,
                       uint32_t(C->Header->SizeOfRawData),
-                      uint32_t(C->Header->SizeOfRawData),
                       C->Checksum);
 }
 




More information about the llvm-commits mailing list