projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7546619
)
Asmprint csret nicely
author
Chris Lattner
<sabre@nondot.org>
Fri, 19 May 2006 21:29:57 +0000
(21:29 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 19 May 2006 21:29:57 +0000
(21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28408
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index abbb8a865c6183fbb915f164897794c51b8c92f0..1aafb9cefee0e83ecd1085a6a16f0e31f0b9f4bc 100644
(file)
--- 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;