aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-19 21:29:57 +0000
committerChris Lattner <sabre@nondot.org>2006-05-19 21:29:57 +0000
commit25f88aa7ad2105426fe82189b6694dd07ff5b91d (patch)
tree5c7e0844f8f393ab6fad275cc54a9fb2519538d6
parent75466197430a0ef6aab0ee7b259d5767312eba46 (diff)
Asmprint csret nicely
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28408 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/AsmWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index abbb8a865c..1aafb9cefe 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;