diff options
author | Kevin Enderby <enderby@apple.com> | 2010-07-08 20:30:44 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2010-07-08 20:30:44 +0000 |
commit | ea9207cd7afa224ec424c89248d3237175c1e124 (patch) | |
tree | f0bea911cf82845c4e3d0c6b9551dc4aef810451 /llvm/lib | |
parent | eaff2cbbabc1a1e6b1cbf6d146376af5d7374dec (diff) | |
download | bcm5719-llvm-ea9207cd7afa224ec424c89248d3237175c1e124.tar.gz bcm5719-llvm-ea9207cd7afa224ec424c89248d3237175c1e124.zip |
Revert some unneeded parts of the change in r107886 for the
.weak_def_can_be_hidden directive. Chris pointed out that the MCAsmInfo.h/.cpp
chunks aren't needed for this until the compiler starts generating these. And
when that happens it will be more convenient for it to be a bool than a const
char*.
llvm-svn: 107906
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/MC/MCAsmInfo.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/MC/MCAsmInfoDarwin.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp index b726b3d9359..a275be2c53c 100644 --- a/llvm/lib/MC/MCAsmInfo.cpp +++ b/llvm/lib/MC/MCAsmInfo.cpp @@ -59,7 +59,6 @@ MCAsmInfo::MCAsmInfo() { HasNoDeadStrip = false; WeakRefDirective = 0; WeakDefDirective = 0; - WeakDefAutoPrivateDirective = 0; LinkOnceDirective = 0; HiddenVisibilityAttr = MCSA_Hidden; ProtectedVisibilityAttr = MCSA_Protected; diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp index 4f5075f50ef..0bd3b2d001e 100644 --- a/llvm/lib/MC/MCAsmInfoDarwin.cpp +++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp @@ -33,7 +33,6 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() { // Directives: WeakDefDirective = "\t.weak_definition "; WeakRefDirective = "\t.weak_reference "; - WeakDefAutoPrivateDirective = "\t.weak_def_can_be_hidden "; ZeroDirective = "\t.space\t"; // ".space N" emits N zeros. HasMachoZeroFillDirective = true; // Uses .zerofill HasMachoTBSSDirective = true; // Uses .tbss |