aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me/semant.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-23 12:21:06 -0700
committerGraydon Hoare <[email protected]>2010-07-23 12:21:06 -0700
commit6668595ebfb13e7299233ad6a9cb82b68e30128e (patch)
tree37df6b6b4bc03515f7e2acc250d33a1001a80908 /src/boot/me/semant.ml
parentAdd pretty-printing for alt-tag statements. (diff)
downloadrust-6668595ebfb13e7299233ad6a9cb82b68e30128e.tar.xz
rust-6668595ebfb13e7299233ad6a9cb82b68e30128e.zip
Include all lval-writing statements in stmt_is_init calculation, not just "copy-like". Un-XFAIL generic-tag-alt.rs
Diffstat (limited to 'src/boot/me/semant.ml')
-rw-r--r--src/boot/me/semant.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/me/semant.ml b/src/boot/me/semant.ml
index 41d28d32..ef73753d 100644
--- a/src/boot/me/semant.ml
+++ b/src/boot/me/semant.ml
@@ -129,7 +129,7 @@ type ctxt =
ctxt_prestates: (node_id,Bits.t) Hashtbl.t;
ctxt_poststates: (node_id,Bits.t) Hashtbl.t;
ctxt_call_lval_params: (node_id,Ast.ty array) Hashtbl.t;
- ctxt_copy_stmt_is_init: (node_id,unit) Hashtbl.t;
+ ctxt_stmt_is_init: (node_id,unit) Hashtbl.t;
ctxt_post_stmt_slot_drops: (node_id,node_id list) Hashtbl.t;
(* Translation-y stuff. *)
@@ -202,7 +202,7 @@ let new_ctxt sess abi crate =
ctxt_postconditions = Hashtbl.create 0;
ctxt_prestates = Hashtbl.create 0;
ctxt_poststates = Hashtbl.create 0;
- ctxt_copy_stmt_is_init = Hashtbl.create 0;
+ ctxt_stmt_is_init = Hashtbl.create 0;
ctxt_post_stmt_slot_drops = Hashtbl.create 0;
ctxt_call_lval_params = Hashtbl.create 0;