diff options
| author | Alasdair Armstrong | 2019-06-04 16:37:48 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2019-06-04 16:37:48 +0100 |
| commit | 6d3a6edcd616621eb40420cfb16a34762a32c5c1 (patch) | |
| tree | d3a753af05b4a3d40a5ce0c6eb7711770105caba /src/specialize.mli | |
| parent | e24587857d1e61b428d784c699a683984c00ce36 (diff) | |
| parent | 239e13dc149af80f979ea95a3c9b42220481a0a1 (diff) | |
Merge branch 'sail2' into separate_bv
Diffstat (limited to 'src/specialize.mli')
| -rw-r--r-- | src/specialize.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/specialize.mli b/src/specialize.mli index 0a64112c..ddfb0c67 100644 --- a/src/specialize.mli +++ b/src/specialize.mli @@ -81,11 +81,11 @@ val add_initial_calls : IdSet.t -> unit AST with [Type_check.initial_env]. The env parameter is the environment to return if there is no polymorphism to remove, in which case specialize returns the AST unmodified. *) -val specialize : specialization -> tannot defs -> Env.t -> tannot defs * Env.t +val specialize : specialization -> Env.t -> tannot defs -> tannot defs * Env.t (** specialize' n performs at most n specialization passes. Useful for int_specialization which is not guaranteed to terminate. *) -val specialize' : int -> specialization -> tannot defs -> Env.t -> tannot defs * Env.t +val specialize_passes : int -> specialization -> Env.t -> tannot defs -> tannot defs * Env.t (** return all instantiations of a function id, with the instantiations filtered according to the specialization. *) |
