From 6668595ebfb13e7299233ad6a9cb82b68e30128e Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 23 Jul 2010 12:21:06 -0700 Subject: Include all lval-writing statements in stmt_is_init calculation, not just "copy-like". Un-XFAIL generic-tag-alt.rs --- src/boot/me/trans.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/boot/me/trans.ml') diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml index 3948fbd6..069fdb59 100644 --- a/src/boot/me/trans.ml +++ b/src/boot/me/trans.ml @@ -4199,7 +4199,7 @@ let trans_visitor and maybe_init (id:node_id) (action:string) (dst:Ast.lval) : bool = - let b = Hashtbl.mem cx.ctxt_copy_stmt_is_init id in + let b = Hashtbl.mem cx.ctxt_stmt_is_init id in let act = if b then ("initializing-" ^ action) else action in iflog (fun _ -> -- cgit v1.2.3