summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
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
commitdfc9b586aedc17dc673bec02e4baf2156d94d6a0 (patch)
tree853920436d3161568506eac3fd974eb81064ff8c /llvm/include/llvm-c
parent980c6d518e6b576d401222de65d4dd043c9c7242 (diff)
downloadbcm5719-llvm-dfc9b586aedc17dc673bec02e4baf2156d94d6a0.tar.gz
bcm5719-llvm-dfc9b586aedc17dc673bec02e4baf2156d94d6a0.zip
This exposes the new calling conventions (WebKit_JS and AnyReg) via the C API by adding them to the enumeration in Core.h.
llvm-svn: 194323
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 30b1d829d25..d4de52345bd 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud