From 5bdc7127afcc3ccaeab4ce95416dc7238d0229ff Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 19 May 2006 21:29:57 +0000 Subject: [PATCH] Asmprint csret nicely llvm-svn: 28408 --- llvm/lib/VMCore/AsmWriter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index abbb8a865c61..1aafb9cefee0 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -953,6 +953,7 @@ void AssemblyWriter::printFunction(const Function *F) { // Print the calling convention. switch (F->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" << F->getCallingConv() << " "; break;