diff options
| author | Tilmann Scheller <tilmann.scheller@googlemail.com> | 2011-03-02 19:29:22 +0000 |
|---|---|---|
| committer | Tilmann Scheller <tilmann.scheller@googlemail.com> | 2011-03-02 19:29:22 +0000 |
| commit | a3769f802179ff364e97050c3c4675ee2a503cb3 (patch) | |
| tree | dca905687467e24bf0bd375f5b0a143be9fe00ec /llvm/lib/VMCore | |
| parent | 64f38ae7eee37a6698d534bc430be4039ee5ca5d (diff) | |
| download | bcm5719-llvm-a3769f802179ff364e97050c3c4675ee2a503cb3.tar.gz bcm5719-llvm-a3769f802179ff364e97050c3c4675ee2a503cb3.zip | |
Add Win64 thiscall calling convention.
llvm-svn: 126862
Diffstat (limited to 'llvm/lib/VMCore')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index ff6084d8a8b..62c65dfd32e 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -1586,6 +1586,7 @@ void AssemblyWriter::printFunction(const Function *F) { case CallingConv::MSP430_INTR: Out << "msp430_intrcc "; break; case CallingConv::PTX_Kernel: Out << "ptx_kernel"; break; case CallingConv::PTX_Device: Out << "ptx_device"; break; + case CallingConv::Win64_ThisCall:Out << "win64_thiscallcc "; break; default: Out << "cc" << F->getCallingConv() << " "; break; } @@ -1858,6 +1859,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) { case CallingConv::MSP430_INTR: Out << " msp430_intrcc "; break; case CallingConv::PTX_Kernel: Out << " ptx_kernel"; break; case CallingConv::PTX_Device: Out << " ptx_device"; break; + case CallingConv::Win64_ThisCall:Out << " win64_thiscallcc "; break; default: Out << " cc" << CI->getCallingConv(); break; } @@ -1914,6 +1916,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) { case CallingConv::MSP430_INTR: Out << " msp430_intrcc "; break; case CallingConv::PTX_Kernel: Out << " ptx_kernel"; break; case CallingConv::PTX_Device: Out << " ptx_device"; break; + case CallingConv::Win64_ThisCall:Out << " win64_thiscallcc "; break; default: Out << " cc" << II->getCallingConv(); break; } |

