From 25f88aa7ad2105426fe82189b6694dd07ff5b91d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 19 May 2006 21:29:57 +0000 Subject: [PATCH] Asmprint csret nicely git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28408 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index abbb8a865c6..1aafb9cefee 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/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;