aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-16 00:08:41 +0000
committerChris Lattner <sabre@nondot.org>2009-09-16 00:08:41 +0000
commit334fd1f259b3e8aaf83cf0d40f74af5b209770e6 (patch)
tree41139ea036200a44e0739afc58707eba3414bbbd /include
parent58665d47aea69875c433fb039c8f10106abc1cee (diff)
downloadexternal_llvm-334fd1f259b3e8aaf83cf0d40f74af5b209770e6.zip
external_llvm-334fd1f259b3e8aaf83cf0d40f74af5b209770e6.tar.gz
external_llvm-334fd1f259b3e8aaf83cf0d40f74af5b209770e6.tar.bz2
eliminate the horrid AsmPrinter::getGlobalLinkName method, inlining
it into all of its call sites and simplifying them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index decbea7..8404841 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -159,12 +159,6 @@ namespace llvm {
///
bool isVerbose() const { return VerboseAsm; }
- /// getGlobalLinkName - Returns the asm/link name of of the specified
- /// global variable. Should be overridden by each target asm printer to
- /// generate the appropriate value.
- virtual const std::string &getGlobalLinkName(const GlobalVariable *GV,
- std::string &LinkName) const;
-
/// EmitExternalGlobal - Emit the external reference to a global variable.
/// Should be overridden if an indirect reference should be used.
virtual void EmitExternalGlobal(const GlobalVariable *GV);