[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri May 19 14:54:15 PDT 2006



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.199 -> 1.200
---
Log message:

pretty print csretcc for calls


---
Diffs of the changes:  (+2 -0)

 AsmWriter.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.199 llvm/lib/VMCore/AsmWriter.cpp:1.200
--- llvm/lib/VMCore/AsmWriter.cpp:1.199	Fri May 19 16:29:57 2006
+++ llvm/lib/VMCore/AsmWriter.cpp	Fri May 19 16:54:03 2006
@@ -1143,6 +1143,7 @@
     // 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 @@
     // 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;






More information about the llvm-commits mailing list