remove the x86/ppc impls of getEHGlobalPrefix, which is already dead.
authorChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:13:22 +0000 (04:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:13:22 +0000 (04:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77861 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetAsmInfo.cpp
lib/Target/PowerPC/PPCTargetAsmInfo.h
lib/Target/X86/X86TargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.h

index 2e66cb80646849e326e9b93b0f47e528b8620959..6322a2e68fd937aa7f9235293272ec5b2a58f076 100644 (file)
@@ -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 = "#";
index eb537b9d417643c0f3ba8cd0604d470113f545fc..79dabf4f6321af2a869103659ef6fbb91eb6e4b0 100644 (file)
@@ -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> {
index db9cf905c4feb4f8fb1659660899280970d0bb06..07350718f1a401e76ca649aeae6886b61d91648b 100644 (file)
@@ -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) {
 
index f7113b3e5ede826f23b8eee6b9ccd24f682e774b..f0b23ccadd4c24bc48bbe26f49be8db521cb8f55 100644 (file)
@@ -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> {