Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 2009 Matthew Fluet. |
2 | * Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh | |
3 | * Jagannathan, and Stephen Weeks. | |
4 | * Copyright (C) 1997-2000 NEC Research Institute. | |
5 | * | |
6 | * MLton is released under a BSD-style license. | |
7 | * See the file MLton-LICENSE for details. | |
8 | *) | |
9 | ||
10 | signature AMD64_ALLOCATE_REGISTERS_STRUCTS = | |
11 | sig | |
12 | structure amd64 : AMD64 | |
13 | structure amd64MLton : AMD64_MLTON | |
14 | sharing amd64 = amd64MLton.amd64 | |
15 | end | |
16 | ||
17 | signature AMD64_ALLOCATE_REGISTERS = | |
18 | sig | |
19 | include AMD64_ALLOCATE_REGISTERS_STRUCTS | |
20 | ||
21 | val allocateRegisters : {assembly: amd64.Assembly.t list list, | |
22 | liveness: bool} -> | |
23 | amd64.Assembly.t list list | |
24 | ||
25 | val allocateRegisters_totals : unit -> unit | |
26 | end |