diff options
| author | Graydon Hoare <[email protected]> | 2010-07-23 12:21:06 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-23 12:21:06 -0700 |
| commit | 6668595ebfb13e7299233ad6a9cb82b68e30128e (patch) | |
| tree | 37df6b6b4bc03515f7e2acc250d33a1001a80908 /src/boot/me/trans.ml | |
| parent | Add pretty-printing for alt-tag statements. (diff) | |
| download | rust-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/trans.ml')
| -rw-r--r-- | src/boot/me/trans.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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 _ -> |