Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/IL/value-numbering-fn.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/IL/value-numbering-fn.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1640, Wed Nov 16 02:19:51 2011 UTC revision 1788, Tue Apr 3 13:25:57 2012 UTC
# Line 212  Line 212 
212                              in                              in
213                                case expToVN(env, exp)                                case expToVN(env, exp)
214                                 of SOME vn => ((* y is redundant, so map it to vn *)                                 of SOME vn => ((* y is redundant, so map it to vn *)
215  (* DEBUG ** Log.msg(concat["** redundant multi-assignment: ", IL.assignToString (y, rhs),*)  (* DEBUG ** Log.msg(concat["** redundant assignment: ", IL.assignToString (y, rhs),*)
216  (* DEBUG **"; VN[", IL.Var.toString y, "] = ", IL.Var.toString vn, "\n"]);*)  (* DEBUG **"; VN[", IL.Var.toString y, "] = ", IL.Var.toString vn, "\n"]);*)
217                                      ST.tick cntRedundantAssign;                                      ST.tick cntRedundantAssign;
218                                      setVN(y, vn);                                      setVN(y, vn);

Legend:
Removed from v.1640  
changed lines
  Added in v.1788

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0