Skip to content

Commit da14c95

Browse files
committed
---
yaml --- r: 679 b: refs/heads/master c: a4a8bea h: refs/heads/master i: 677: 45e62bf 675: ee85cca 671: bb43bf5 v: v3
1 parent df42c07 commit da14c95

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 1676a389be5ea1c11702b1f01222fb4175fb0513
2+
refs/heads/master: a4a8bea3ccb7c6ada67d50bb9e8e35ddf9f72195

trunk/src/boot/me/semant.ml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ type ctxt =
111111
ctxt_all_lvals: (node_id,Ast.lval) Hashtbl.t;
112112
ctxt_call_lval_params: (node_id,Ast.ty array) Hashtbl.t;
113113

114+
(* Each pair (a, b) in this table indicates that tag a contains all the
115+
* tags in the list b. *)
116+
ctxt_tag_containment: (opaque_id, opaque_id Queue.t) Hashtbl.t;
117+
114118
(* definition id --> definition *)
115119
ctxt_all_defns: (node_id,defn) Hashtbl.t;
116120

@@ -199,6 +203,9 @@ let new_ctxt sess abi crate =
199203
ctxt_all_lvals = Hashtbl.create 0;
200204
ctxt_all_defns = Hashtbl.create 0;
201205
ctxt_call_lval_params = Hashtbl.create 0;
206+
207+
ctxt_tag_containment = Hashtbl.create 0;
208+
202209
ctxt_lval_base_id_to_defn_base_id = Hashtbl.create 0;
203210
ctxt_required_items = crate.Ast.crate_required;
204211
ctxt_required_syms = crate.Ast.crate_required_syms;

0 commit comments

Comments
 (0)