diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index de993eec69f..7deba0d0382 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1397,8 +1397,9 @@ void AssemblyWriter::printAlias(const GlobalAlias *GA) { if (Aliasee == 0) { TypePrinter.print(GA->getType(), Out); Out << " <>"; - } else + } else { writeOperand(Aliasee, !isa(Aliasee)); + } printInfoComment(*GA); Out << '\n';