mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-01 00:02:16 +00:00
Asmprint csret nicely
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7546619743
commit
25f88aa7ad
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user