mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-12 01:41:37 +00:00
Add new calling convention, as documented in LangRef.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5710ce915e
commit
91b18484ae
@ -28,6 +28,13 @@ namespace CallingConv {
|
|||||||
// certain amounts of prototype mismatch.
|
// certain amounts of prototype mismatch.
|
||||||
C = 0,
|
C = 0,
|
||||||
|
|
||||||
|
/// CSRet - C Struct Return calling convention. This convention requires
|
||||||
|
/// that the function return void and take a pointer as the first argument
|
||||||
|
/// of the struct. This is used by targets which need to distinguish
|
||||||
|
/// between C functions returning a structure, and C functions taking a
|
||||||
|
/// structure pointer as the first argument to the function.
|
||||||
|
CSRet = 1,
|
||||||
|
|
||||||
|
|
||||||
// Generic LLVM calling conventions. None of these calling conventions
|
// Generic LLVM calling conventions. None of these calling conventions
|
||||||
// support varargs calls, and all assume that the caller and callee
|
// support varargs calls, and all assume that the caller and callee
|
||||||
|
Loading…
x
Reference in New Issue
Block a user