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
This commit is contained in:
Chris Lattner 2010-03-12 21:21:19 +00:00
parent d62f1b4168
commit 70501b72cf

View File

@ -59,11 +59,6 @@ GetSymbolFromOperand(const MachineOperand &MO) const {
assert(MO.isSymbol());
Name += AsmPrinter.MAI->getGlobalPrefix();
Name += MO.getSymbolName();
} else if (getSubtarget().isTargetCygMing() &&
isa<Function>(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;