Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 2009 Matthew Fluet. |
2 | * Copyright (C) 2002-2007 Henry Cejtin, Matthew Fluet, Suresh | |
3 | * Jagannathan, and Stephen Weeks. | |
4 | * | |
5 | * MLton is released under a BSD-style license. | |
6 | * See the file MLton-LICENSE for details. | |
7 | *) | |
8 | ||
9 | signature IMPLEMENT_PROFILING_STRUCTS = | |
10 | sig | |
11 | structure Machine: MACHINE | |
12 | structure Rssa: RSSA | |
13 | sharing Machine.ProfileLabel = Rssa.ProfileLabel | |
14 | end | |
15 | ||
16 | signature IMPLEMENT_PROFILING = | |
17 | sig | |
18 | include IMPLEMENT_PROFILING_STRUCTS | |
19 | ||
20 | val doit: | |
21 | Rssa.Program.t | |
22 | -> Rssa.Program.t * ({frames: Rssa.Label.t vector} | |
23 | -> Machine.ProfileInfo.t option) | |
24 | end |