Asmprint csret nicely

llvm-svn: 28408
This commit is contained in:
Chris Lattner 2006-05-19 21:29:57 +00:00
parent 09c0e99dfb
commit 5bdc7127af
1 changed files with 1 additions and 0 deletions

View File

@ -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;