summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFilip Pizlo <fpizlo@apple.com>2013-11-09 06:00:03 +0000
committerFilip Pizlo <fpizlo@apple.com>2013-11-09 06:00:03 +0000
commit9defe9a7ccb29b02ed78bede5892fd4e3e64307b (patch)
tree105e0c8750f854099a4020a81e09955eb3e0117e /include
parent3481cdc57382b315c96ad82a6e166f9914dadddb (diff)
downloadllvm-9defe9a7ccb29b02ed78bede5892fd4e3e64307b.tar.gz
llvm-9defe9a7ccb29b02ed78bede5892fd4e3e64307b.tar.bz2
llvm-9defe9a7ccb29b02ed78bede5892fd4e3e64307b.tar.xz
This exposes the new calling conventions (WebKit_JS and AnyReg) via the C API by adding them to the enumeration in Core.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 30b1d829d2..d4de52345b 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -301,6 +301,8 @@ typedef enum {
LLVMCCallConv = 0,
LLVMFastCallConv = 8,
LLVMColdCallConv = 9,
+ LLVMWebKitJSCallConv = 12,
+ LLVMAnyRegCallConv = 13,
LLVMX86StdcallCallConv = 64,
LLVMX86FastcallCallConv = 65
} LLVMCallConv;