mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-05 11:57:07 +00:00
pretty print csretcc for calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cdbaeb52ae
commit
7dd29aadf9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user