diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2003-05-14 09:48:20 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2003-05-14 09:48:20 +0000 |
commit | 4d7abfbc16022eab8af392bd3e6d76cf4773f2c2 (patch) | |
tree | e883430c77d37c7c933652bca86be8dcc3697272 /bytecomp/emitcode.mli | |
parent | 6ef3a9c5a2ca32049682798e1e6f4521ea196836 (diff) | |
download | ocaml-multimatch.tar.gz |
merge from HEADmultimatch
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/multimatch@5563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'bytecomp/emitcode.mli')
-rw-r--r-- | bytecomp/emitcode.mli | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bytecomp/emitcode.mli b/bytecomp/emitcode.mli index 481ad506b1..226f869971 100644 --- a/bytecomp/emitcode.mli +++ b/bytecomp/emitcode.mli @@ -42,6 +42,7 @@ type compilation_unit = magic number (Config.cmo_magic_number) absolute offset of compilation unit descriptor block of relocatable bytecode + debugging information if any compilation unit descriptor *) (* Descriptor for libraries *) @@ -75,4 +76,10 @@ val to_memory: instruction list -> instruction list -> block of relocatable bytecode size of this block relocation information *) - +val to_packed_file: + out_channel -> instruction list -> (reloc_info * int) list + (* Arguments: + channel on output file + list of instructions to emit + Result: + relocation information (reversed) *) |