aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 04:13:22 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 04:13:22 +0000
commit83f08a2efdbe18e1eba866a25aa7e37c555de4c1 (patch)
tree00ad73ba21c7a2854adca45c8e8955e091bd7127
parent2b800dfa6b6e6b49ee5019708a47459eaef8389f (diff)
downloadexternal_llvm-83f08a2efdbe18e1eba866a25aa7e37c555de4c1.tar.gz
external_llvm-83f08a2efdbe18e1eba866a25aa7e37c555de4c1.tar.bz2
external_llvm-83f08a2efdbe18e1eba866a25aa7e37c555de4c1.zip
remove the x86/ppc impls of getEHGlobalPrefix, which is already dead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77861 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCTargetAsmInfo.cpp7
-rw-r--r--lib/Target/PowerPC/PPCTargetAsmInfo.h1
-rw-r--r--lib/Target/X86/X86TargetAsmInfo.cpp8
-rw-r--r--lib/Target/X86/X86TargetAsmInfo.h1
4 files changed, 0 insertions, 17 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 2e66cb8064..6322a2e68f 100644
--- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -32,13 +32,6 @@ PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM) :
SupportsWeakOmittedEHFrame = false;
}
-const char *PPCDarwinTargetAsmInfo::getEHGlobalPrefix() const {
- const PPCSubtarget* Subtarget = &TM.getSubtarget<PPCSubtarget>();
- if (Subtarget->getDarwinVers() > 9)
- return PrivateGlobalPrefix;
- return "";
-}
-
PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) :
PPCTargetAsmInfo<ELFTargetAsmInfo>(TM) {
CommentString = "#";
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.h b/lib/Target/PowerPC/PPCTargetAsmInfo.h
index eb537b9d41..79dabf4f63 100644
--- a/lib/Target/PowerPC/PPCTargetAsmInfo.h
+++ b/lib/Target/PowerPC/PPCTargetAsmInfo.h
@@ -46,7 +46,6 @@ namespace llvm {
struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo<DarwinTargetAsmInfo> {
explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM);
- virtual const char *getEHGlobalPrefix() const;
};
struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo<ELFTargetAsmInfo> {
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp
index db9cf905c4..07350718f1 100644
--- a/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/lib/Target/X86/X86TargetAsmInfo.cpp
@@ -86,14 +86,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM):
".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
}
-const char *
-X86DarwinTargetAsmInfo::getEHGlobalPrefix() const {
- const X86Subtarget* Subtarget = &TM.getSubtarget<X86Subtarget>();
- if (Subtarget->getDarwinVers() > 9)
- return PrivateGlobalPrefix;
- return "";
-}
-
X86ELFTargetAsmInfo::X86ELFTargetAsmInfo(const X86TargetMachine &TM) :
X86TargetAsmInfo<ELFTargetAsmInfo>(TM) {
diff --git a/lib/Target/X86/X86TargetAsmInfo.h b/lib/Target/X86/X86TargetAsmInfo.h
index f7113b3e5e..f0b23ccadd 100644
--- a/lib/Target/X86/X86TargetAsmInfo.h
+++ b/lib/Target/X86/X86TargetAsmInfo.h
@@ -37,7 +37,6 @@ namespace llvm {
struct X86DarwinTargetAsmInfo : public X86TargetAsmInfo<DarwinTargetAsmInfo> {
explicit X86DarwinTargetAsmInfo(const X86TargetMachine &TM);
- virtual const char *getEHGlobalPrefix() const;
};
struct X86ELFTargetAsmInfo : public X86TargetAsmInfo<ELFTargetAsmInfo> {