mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +00:00
Print csretcc calls like this:
call csretcc void %structret( { sbyte }* %P ) instead of this: callcsretcc void %structret( { sbyte }* %P ) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ebf8e6cd92
commit
0deaab89fe
@ -1143,7 +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::CSRet: Out << " csretcc"; break;
|
||||
case CallingConv::Fast: Out << " fastcc"; break;
|
||||
case CallingConv::Cold: Out << " coldcc"; break;
|
||||
default: Out << " cc" << CI->getCallingConv(); break;
|
||||
@ -1181,7 +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::CSRet: Out << " csretcc"; break;
|
||||
case CallingConv::Fast: Out << " fastcc"; break;
|
||||
case CallingConv::Cold: Out << " coldcc"; break;
|
||||
default: Out << " cc" << II->getCallingConv(); break;
|
||||
|
Loading…
Reference in New Issue
Block a user