[lld] r231688 - Remove dead code.
Rui Ueyama
ruiu at google.com
Mon Mar 9 11:59:56 PDT 2015
Author: ruiu
Date: Mon Mar 9 13:59:55 2015
New Revision: 231688
URL: http://llvm.org/viewvc/llvm-project?rev=231688&view=rev
Log:
Remove dead code.
Modified:
lld/trunk/include/lld/Core/Reference.h
lld/trunk/lib/Core/Reader.cpp
Modified: lld/trunk/include/lld/Core/Reference.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Reference.h?rev=231688&r1=231687&r2=231688&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Reference.h (original)
+++ lld/trunk/include/lld/Core/Reference.h Mon Mar 9 13:59:55 2015
@@ -76,9 +76,6 @@ public:
// kindLayoutAfter is treated as a bidirected edge by the dead-stripping
// pass.
kindLayoutAfter = 1,
- // kindLayoutBefore is currently used only by PECOFF port, and will
- // be removed soon. To enforce layout, use kindLayoutAfter instead.
- kindLayoutBefore,
// kindGroupChild is treated as a bidirected edge too.
kindGroupChild,
kindAssociate,
Modified: lld/trunk/lib/Core/Reader.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/Reader.cpp?rev=231688&r1=231687&r2=231688&view=diff
==============================================================================
--- lld/trunk/lib/Core/Reader.cpp (original)
+++ lld/trunk/lib/Core/Reader.cpp Mon Mar 9 13:59:55 2015
@@ -53,7 +53,6 @@ Registry::loadFile(std::unique_ptr<Memor
static const Registry::KindStrings kindStrings[] = {
{Reference::kindLayoutAfter, "layout-after"},
- {Reference::kindLayoutBefore, "layout-before"},
{Reference::kindGroupChild, "group-child"},
{Reference::kindAssociate, "associate"},
LLD_KIND_STRING_END};
More information about the llvm-commits
mailing list