diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-19 21:54:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-19 21:54:03 +0000 |
commit | 7dd29aadf9147d402969302268f82bc4b8903c15 (patch) | |
tree | 84bf5fc5321e75312bd99e80caeedca63417e6ea | |
parent | cdbaeb52ae36bb4a94cc2101e0babbaf5c148eb1 (diff) |
pretty print csretcc for calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28410 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 1aafb9cefe..3601425b94 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; |