aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-01-07 02:31:11 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-01-07 02:31:11 +0000
commit572742e876478d3ec7ff0750c0473d7621804b15 (patch)
treede3f562bd6683bec53d2194ac9235b28cc2176e5 /include
parent9bb06810289a8a4281e49130b64cb1d57b1960f4 (diff)
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')
-rw-r--r--include/llvm/CallingConv.h7
-rw-r--r--include/llvm/CodeGen/LinkAllCodegenComponents.h1
2 files changed, 7 insertions, 1 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h
index bb76defc26..8b6a01a0cf 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
diff --git a/include/llvm/CodeGen/LinkAllCodegenComponents.h b/include/llvm/CodeGen/LinkAllCodegenComponents.h
index 48be5411bc..ac58035593 100644
--- a/include/llvm/CodeGen/LinkAllCodegenComponents.h
+++ b/include/llvm/CodeGen/LinkAllCodegenComponents.h
@@ -36,6 +36,7 @@ namespace {
(void) llvm::createSimpleRegisterCoalescer();
+ (void) llvm::createOcamlCollector();
(void) llvm::createShadowStackCollector();
(void) llvm::createBURRListDAGScheduler(NULL, NULL, NULL);