summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/asmcomp/cmmgen.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/asmcomp/cmmgen.mli')
-rw-r--r--ocaml-binary-annot/asmcomp/cmmgen.mli32
1 files changed, 32 insertions, 0 deletions
diff --git a/ocaml-binary-annot/asmcomp/cmmgen.mli b/ocaml-binary-annot/asmcomp/cmmgen.mli
new file mode 100644
index 0000000000..ba7e5ad00f
--- /dev/null
+++ b/ocaml-binary-annot/asmcomp/cmmgen.mli
@@ -0,0 +1,32 @@
+(***********************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
+(* *)
+(* Copyright 1996 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the Q Public License version 1.0. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+
+(* Translation from closed lambda to C-- *)
+
+val compunit: int -> Clambda.ulambda -> Cmm.phrase list
+
+val apply_function: int -> Cmm.phrase
+val send_function: int -> Cmm.phrase
+val curry_function: int -> Cmm.phrase list
+val generic_functions: bool -> Cmx_format.unit_infos list -> Cmm.phrase list
+val entry_point: string list -> Cmm.phrase
+val global_table: string list -> Cmm.phrase
+val reference_symbols: string list -> Cmm.phrase
+val globals_map: (string * Digest.t * Digest.t * string list) list ->
+ Cmm.phrase
+val frame_table: string list -> Cmm.phrase
+val data_segment_table: string list -> Cmm.phrase
+val code_segment_table: string list -> Cmm.phrase
+val predef_exception: string -> Cmm.phrase
+val plugin_header: (Cmx_format.unit_infos * Digest.t) list -> Cmm.phrase