diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 1aafb9cefee..3601425b947 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1143,6 +1143,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) { // Print the calling convention being used. switch (CI->getCallingConv()) { case CallingConv::C: break; // default + case CallingConv::CSRet: Out << "csretcc "; break; case CallingConv::Fast: Out << " fastcc"; break; case CallingConv::Cold: Out << " coldcc"; break; default: Out << " cc" << CI->getCallingConv(); break; @@ -1180,6 +1181,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) { // Print the calling convention being used. switch (II->getCallingConv()) { case CallingConv::C: break; // default + case CallingConv::CSRet: Out << "csretcc "; break; case CallingConv::Fast: Out << " fastcc"; break; case CallingConv::Cold: Out << " coldcc"; break; default: Out << " cc" << II->getCallingConv(); break;