Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / codegen / amd64-codegen / amd64-codegen.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 1999-2008 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9signature AMD64_CODEGEN_STRUCTS =
10 sig
11 structure CCodegen: C_CODEGEN
12 structure Machine: MACHINE
13 sharing Machine = CCodegen.Machine
14 end
15
16signature AMD64_CODEGEN =
17 sig
18 include AMD64_CODEGEN_STRUCTS
19
20 val implementsPrim: Machine.Type.t Machine.Prim.t -> bool
21 val output: {program: Machine.Program.t,
22 outputC: unit -> {file: File.t,
23 print: string -> unit,
24 done: unit -> unit},
25 outputS: unit -> {file: File.t,
26 print: string -> unit,
27 done: unit -> unit}} -> unit
28 end