Rough frame allocations
[tiger.ml.git] / compiler / src / lib / tiger / tiger_translate.mli
index 7f71711..9fd1146 100644 (file)
@@ -1 +1,17 @@
+module Level : sig
+  type t
+
+  val init : t
+  (** "outermost" in Applel's code *)
+
+  val next : t -> name:Tiger_temp.Label.t -> formals:bool list -> t
+  (** "newLevel" in Appel's code *)
+end
+
 type exp = unit
+
+type access
+
+val alloc_local : level:Level.t -> escapes:bool -> access
+
+val formals : level:Level.t -> access list
This page took 0.021098 seconds and 4 git commands to generate.