mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
pretty print csretcc for calls
llvm-svn: 28410
This commit is contained in:
parent
6d6a4d0e49
commit
b0af1b89ac
@ -1143,6 +1143,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
|||||||
// Print the calling convention being used.
|
// Print the calling convention being used.
|
||||||
switch (CI->getCallingConv()) {
|
switch (CI->getCallingConv()) {
|
||||||
case CallingConv::C: break; // default
|
case CallingConv::C: break; // default
|
||||||
|
case CallingConv::CSRet: Out << "csretcc "; break;
|
||||||
case CallingConv::Fast: Out << " fastcc"; break;
|
case CallingConv::Fast: Out << " fastcc"; break;
|
||||||
case CallingConv::Cold: Out << " coldcc"; break;
|
case CallingConv::Cold: Out << " coldcc"; break;
|
||||||
default: Out << " cc" << CI->getCallingConv(); break;
|
default: Out << " cc" << CI->getCallingConv(); break;
|
||||||
@ -1180,6 +1181,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
|||||||
// Print the calling convention being used.
|
// Print the calling convention being used.
|
||||||
switch (II->getCallingConv()) {
|
switch (II->getCallingConv()) {
|
||||||
case CallingConv::C: break; // default
|
case CallingConv::C: break; // default
|
||||||
|
case CallingConv::CSRet: Out << "csretcc "; break;
|
||||||
case CallingConv::Fast: Out << " fastcc"; break;
|
case CallingConv::Fast: Out << " fastcc"; break;
|
||||||
case CallingConv::Cold: Out << " coldcc"; break;
|
case CallingConv::Cold: Out << " coldcc"; break;
|
||||||
default: Out << " cc" << II->getCallingConv(); break;
|
default: Out << " cc" << II->getCallingConv(); break;
|
||||||
|
Loading…
Reference in New Issue
Block a user