diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 4954522691e..6bd263e5c87 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1514,11 +1514,6 @@ static void PrintVisibility(GlobalValue::VisibilityTypes Vis, } void AssemblyWriter::printGlobal(const GlobalVariable *GV) { - // If we're going to print a global that has GhostLinkage - // materialize it now. - if (GV->getLinkage() == GlobalValue::GhostLinkage) { - } - WriteAsOperandInternal(Out, GV, &TypePrinter, &Machine); Out << " = ";