Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 2009 Matthew Fluet. |
2 | * Copyright (C) 1999-2005 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 X86_TRANSLATE_STRUCTS = | |
11 | sig | |
12 | structure x86: X86_PSEUDO | |
13 | structure x86MLton : X86_MLTON | |
14 | sharing x86 = x86MLton.x86 | |
15 | structure x86Liveness : X86_LIVENESS | |
16 | sharing x86 = x86Liveness.x86 | |
17 | sharing x86MLton.x86Liveness = x86Liveness | |
18 | end | |
19 | ||
20 | signature X86_TRANSLATE = | |
21 | sig | |
22 | include X86_TRANSLATE_STRUCTS | |
23 | ||
24 | val translateChunk : {chunk: x86MLton.Machine.Chunk.t, | |
25 | frameInfoToX86: (x86MLton.Machine.FrameInfo.t | |
26 | -> x86.FrameInfo.t), | |
27 | liveInfo: x86Liveness.LiveInfo.t} | |
28 | -> {chunk: x86.Chunk.t} | |
29 | ||
30 | val translateChunk_totals : unit -> unit | |
31 | end |