summaryrefslogtreecommitdiffstats
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
commitcecdb9e772e0c84bf93c82f6a10a0c2b9898f39f (patch)
treee8af135774197fde2498586dca3c9e1dc35f9b14
parent9419876e59258b10293ad6d3e11ad6d2f8ac81a4 (diff)
downloadbcm5719-llvm-cecdb9e772e0c84bf93c82f6a10a0c2b9898f39f.tar.gz
bcm5719-llvm-cecdb9e772e0c84bf93c82f6a10a0c2b9898f39f.zip
remove the x86/ppc impls of getEHGlobalPrefix, which is already dead.
llvm-svn: 77861
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp7
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h1
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.cpp8
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.h1
4 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 2e66cb80646..6322a2e68fd 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/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/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h
index eb537b9d417..79dabf4f632 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h
+++ b/llvm/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/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index db9cf905c4f..07350718f1a 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/llvm/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/llvm/lib/Target/X86/X86TargetAsmInfo.h b/llvm/lib/Target/X86/X86TargetAsmInfo.h
index f7113b3e5ed..f0b23ccadd4 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.h
+++ b/llvm/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> {
OpenPOWER on IntegriCloud