1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Add new calling convention, as documented in LangRef.html

llvm-svn: 28404
This commit is contained in:
Chris Lattner 2006-05-19 21:19:02 +00:00
parent 48febe01d9
commit 65503c4552

View File

@ -27,6 +27,13 @@ namespace CallingConv {
// As with typical C calling conventions, the callee/caller have to tolerate
// certain amounts of prototype mismatch.
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