diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-11 00:22:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-11 00:22:57 +0000 |
commit | 29689434635364346cbef6f4e309f1d9fcdd5d80 (patch) | |
tree | 2e33d188b2f1afbb93bd58e3fcd8e8d6e2db6521 /include | |
parent | 4d6113ee0699ac1eff46971881179de53e2eb810 (diff) | |
download | external_llvm-29689434635364346cbef6f4e309f1d9fcdd5d80.zip external_llvm-29689434635364346cbef6f4e309f1d9fcdd5d80.tar.gz external_llvm-29689434635364346cbef6f4e309f1d9fcdd5d80.tar.bz2 |
add support, testcases, and dox for the new GHC calling
convention. Patch by David Terei!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CallingConv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h index c54527c..624390d 100644 --- a/include/llvm/CallingConv.h +++ b/include/llvm/CallingConv.h @@ -44,6 +44,9 @@ namespace CallingConv { // call does not break any live ranges in the caller side. Cold = 9, + // GHC - Calling convention used by the Glasgow Haskell Compiler (GHC). + GHC = 10, + // Target - This is the start of the target-specific calling conventions, // e.g. fastcall and thiscall on X86. FirstTargetCC = 64, |