summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-09-06 08:33:48 +0000
committerDuncan Sands <baldrick@free.fr>2009-09-06 08:33:48 +0000
commit2fbeaf084ffe6467004d2a340336407c254f623f (patch)
treeb1689f01b10a49e9167d74b16da8d1aea0484196 /llvm/lib/VMCore
parent109e762a5752e7a6bcee526bdbb6bbf1978152a7 (diff)
downloadbcm5719-llvm-2fbeaf084ffe6467004d2a340336407c254f623f.tar.gz
bcm5719-llvm-2fbeaf084ffe6467004d2a340336407c254f623f.zip
Remove some unused variables and methods warned about by
icc (#177, partial). Patch by Erick Tryzelaar. llvm-svn: 81106
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 5062075a46c..a61f8fb2315 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -1282,8 +1282,6 @@ public:
void writeOperand(const Value *Op, bool PrintType);
void writeParamOperand(const Value *Operand, Attributes Attrs);
- const Module* getModule() { return TheModule; }
-
private:
void printModule(const Module *M);
void printTypeSymbolTable(const TypeSymbolTable &ST);
OpenPOWER on IntegriCloud