From 29689434635364346cbef6f4e309f1d9fcdd5d80 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 11 Mar 2010 00:22:57 +0000 Subject: 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 --- include/llvm/CallingConv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/llvm/CallingConv.h') 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, -- cgit v1.1