From 70501b72cfd0da6d6087f50901729816ee5a2d58 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 12 Mar 2010 21:21:19 +0000 Subject: [PATCH] remove special case code that isn't needed anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98391 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/AsmPrinter/X86MCInstLower.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp b/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp index 62df5e68ba4..fe4c0e15b7f 100644 --- a/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp +++ b/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp @@ -59,11 +59,6 @@ GetSymbolFromOperand(const MachineOperand &MO) const { assert(MO.isSymbol()); Name += AsmPrinter.MAI->getGlobalPrefix(); Name += MO.getSymbolName(); - } else if (getSubtarget().isTargetCygMing() && - isa(MO.getGlobal())) { - const GlobalValue *GV = MO.getGlobal(); - MCSymbol *Sym = Mang->getSymbol(GV); - Name.append(Sym->getName().begin(), Sym->getName().end()); } else { const GlobalValue *GV = MO.getGlobal(); bool isImplicitlyPrivate = false;