Setting GlobalDirective in TargetAsmInfo by default rather than
[oota-llvm.git] / include / llvm / CallingConv.h
index bb76defc26614bcde989091a00cd54fbbeb6033a..8b6a01a0cf5605d0d0e3c4baea5994d048ae1ed6 100644 (file)
@@ -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 - '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
 
   };
 } // End CallingConv namespace