Relax alias-analysis pass to permit literal-aliasing.

This commit is contained in:
Graydon Hoare 2010-07-01 17:10:30 -07:00
parent bcc7ec18b8
commit abfeefc662

View File

@ -29,7 +29,7 @@ let alias_analysis_visitor
let alias_atom at =
match at with
Ast.ATOM_lval lv -> alias lv
| _ -> err None "aliasing literal"
| _ -> () (* Aliasing a literal is harmless, if weird. *)
in
let alias_call_args dst callee args =