projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d62f1b4
)
remove special case code that isn't needed anymore.
author
Chris Lattner
<sabre@nondot.org>
Fri, 12 Mar 2010 21:21:19 +0000
(21:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 12 Mar 2010 21:21:19 +0000
(21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98391
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
b/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
index 62df5e68ba48f3feada8b66a7b8b427308aafc38..fe4c0e15b7f518b7e2a4e5db9cf34eda4d7c073e 100644
(file)
--- 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<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;