summaryrefslogtreecommitdiff
path: root/include/llvm/CallingConv.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-11 00:22:57 +0000
committerChris Lattner <sabre@nondot.org>2010-03-11 00:22:57 +0000
commit29689434635364346cbef6f4e309f1d9fcdd5d80 (patch)
tree2e33d188b2f1afbb93bd58e3fcd8e8d6e2db6521 /include/llvm/CallingConv.h
parent4d6113ee0699ac1eff46971881179de53e2eb810 (diff)
downloadllvm-29689434635364346cbef6f4e309f1d9fcdd5d80.tar.gz
llvm-29689434635364346cbef6f4e309f1d9fcdd5d80.tar.bz2
llvm-29689434635364346cbef6f4e309f1d9fcdd5d80.tar.xz
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/llvm/CallingConv.h')
-rw-r--r--include/llvm/CallingConv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h
index c54527c218..624390d1cd 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,