summaryrefslogtreecommitdiff
path: root/sched/netlist_dumb.ml
diff options
context:
space:
mode:
Diffstat (limited to 'sched/netlist_dumb.ml')
-rw-r--r--sched/netlist_dumb.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sched/netlist_dumb.ml b/sched/netlist_dumb.ml
index 19b16a8..7736d94 100644
--- a/sched/netlist_dumb.ml
+++ b/sched/netlist_dumb.ml
@@ -52,7 +52,7 @@ let mkbinstr a =
let make_program_dumb p =
let vars = ref [] in
- let var_map = Hashtbl.create (Env.size p.p_vars) in
+ let var_map = Hashtbl.create (Env.cardinal p.p_vars) in
() (* TODO *)
(*
1. Identify constants and create new variables for them, put them on the variable list