summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSIL
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/Target/MSIL
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/Target/MSIL')
-rw-r--r--llvm/lib/Target/MSIL/MSILWriter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSIL/MSILWriter.cpp b/llvm/lib/Target/MSIL/MSILWriter.cpp
index f55b4604bfc..26d637b4347 100644
--- a/llvm/lib/Target/MSIL/MSILWriter.cpp
+++ b/llvm/lib/Target/MSIL/MSILWriter.cpp
@@ -1678,7 +1678,6 @@ void MSILWriter::printExternals() {
E = ModulePtr->global_end(); I!=E; ++I) {
if (!I->isDeclaration() || !I->hasDLLImportLinkage()) continue;
// Use "LoadLibrary"/"GetProcAddress" to recive variable address.
- std::string Label = "not_null$_"+utostr(getUniqID());
std::string Tmp = getTypeName(I->getType())+getValueName(&*I);
printSimpleInstruction("ldsflda",Tmp.c_str());
Out << "\tldstr\t\"" << getLibraryName(&*I) << "\"\n";
OpenPOWER on IntegriCloud