summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-10-31 22:12:01 +0000
committerAndrew Trick <atrick@apple.com>2013-10-31 22:12:01 +0000
commit2ddc56dec8e523cee56d36e2e4c9a1c469e72e1c (patch)
tree906a1efff93297e5c940148443feee7366a1b8aa /include
parent3d74dea4bddc84d1881efc21eb5eefbddbfa9aed (diff)
downloadllvm-2ddc56dec8e523cee56d36e2e4c9a1c469e72e1c.tar.gz
llvm-2ddc56dec8e523cee56d36e2e4c9a1c469e72e1c.tar.bz2
llvm-2ddc56dec8e523cee56d36e2e4c9a1c469e72e1c.tar.xz
Add new calling convention for WebKit Java Script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/CallingConv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/IR/CallingConv.h b/include/llvm/IR/CallingConv.h
index 585fc5ea84..35c7df9b2a 100644
--- a/include/llvm/IR/CallingConv.h
+++ b/include/llvm/IR/CallingConv.h
@@ -51,6 +51,9 @@ namespace CallingConv {
// (HiPE).
HiPE = 11,
+ // WebKit JS - Calling convention for stack based JavaScript calls
+ WebKit_JS = 12,
+
// Target - This is the start of the target-specific calling conventions,
// e.g. fastcall and thiscall on X86.
FirstTargetCC = 64,