mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Remove some unused variables and methods warned about by
icc (#177, partial). Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user