diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-01-07 02:31:11 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-01-07 02:31:11 +0000 |
commit | 572742e876478d3ec7ff0750c0473d7621804b15 (patch) | |
tree | de3f562bd6683bec53d2194ac9235b28cc2176e5 /include/llvm/CallingConv.h | |
parent | 9bb06810289a8a4281e49130b64cb1d57b1960f4 (diff) | |
download | external_llvm-572742e876478d3ec7ff0750c0473d7621804b15.zip external_llvm-572742e876478d3ec7ff0750c0473d7621804b15.tar.gz external_llvm-572742e876478d3ec7ff0750c0473d7621804b15.tar.bz2 |
Setting GlobalDirective in TargetAsmInfo by default rather than
providing a misleading facility. It's used once in the MIPS backend
and hardcoded as "\t.globl\t" everywhere else.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CallingConv.h')
-rw-r--r-- | include/llvm/CallingConv.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h index bb76def..8b6a01a 100644 --- a/include/llvm/CallingConv.h +++ b/include/llvm/CallingConv.h @@ -57,7 +57,12 @@ namespace CallingConv { /// X86_FastCall - 'fast' analog of X86_StdCall. Passes first two arguments /// in ECX:EDX registers, others - via stack. Callee is responsible for /// stack cleaning. - X86_FastCall = 65 + X86_FastCall = 65, + + /// X86_Ocaml - This is a weird ABI used by Objective Caml. Formally, it + /// supports only one to six integer/address arguments, all in-reg. It also + /// supports tail call emission. + X86_Ocaml = 66 }; } // End CallingConv namespace |