[lld] r210461 - Remove dead parameter.

Rui Ueyama ruiu at google.com
Mon Jun 9 02:58:53 PDT 2014


Author: ruiu
Date: Mon Jun  9 04:58:53 2014
New Revision: 210461

URL: http://llvm.org/viewvc/llvm-project?rev=210461&view=rev
Log:
Remove dead parameter.

Modified:
    lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp

Modified: lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp?rev=210461&r1=210460&r2=210461&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp (original)
+++ lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp Mon Jun  9 04:58:53 2014
@@ -203,7 +203,7 @@ public:
 private:
   typedef llvm::StringMap<const lld::Atom *> NameToAtom;
 
-  void add(StringRef name, const lld::Atom *atom, bool isGroupChild = false) {
+  void add(StringRef name, const lld::Atom *atom) {
     if (const lld::DefinedAtom *da = dyn_cast<DefinedAtom>(atom)) {
       if (da->isGroupParent()) {
         if (_groupMap.count(name)) {
@@ -1160,9 +1160,9 @@ RefNameResolver::RefNameResolver(const l
   for (const lld::DefinedAtom *a : file->defined()) {
     NormalizedAtom *na = (NormalizedAtom *)a;
     if (!na->_refName.empty())
-      add(na->_refName, a, na->isGroupChild());
+      add(na->_refName, a);
     else if (!na->_name.empty())
-      add(na->_name, a, na->isGroupChild());
+      add(na->_name, a);
   }
 
   for (const lld::UndefinedAtom *a : file->undefined())





More information about the llvm-commits mailing list