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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/driver/main.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/driver/main.sml

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

revision 3453, Sun Nov 22 00:26:54 2015 UTC revision 3506, Fri Dec 18 04:03:54 2015 UTC
# Line 57  Line 57 
57            val _ = dump Ctl.dumpAST ASTPP.output "" ast            val _ = dump Ctl.dumpAST ASTPP.output "" ast
58          (***** SIMPLIFY *****)          (***** SIMPLIFY *****)
59            val simple = Simplify.transform (errStrm, ast)            val simple = Simplify.transform (errStrm, ast)
60            val _ = dump Ctl.dumpSimple SimplePP.output simple            val _ = dump Ctl.dumpSimple SimplePP.output "after simplify" simple
61            val simple = SimpleOpt.transform simple            val simple = SimpleOpt.transform simple
62            val _ = dump Ctl.dumpSimple SimplePP.output simple            val _ = dump Ctl.dumpSimple SimplePP.output "after simple optimization" simple
63            in            in
64            (* check for warnings and report if necessary *)            (* check for warnings and report if necessary *)
65              if Error.anyWarnings errStrm              if Error.anyWarnings errStrm
66                then Error.report (TextIO.stdErr, errStrm)                then Error.report (TextIO.stdErr, errStrm)
67                else ();                else ();
68              ()              simple
69            end            end
70    
71    (* a wrapper around the front-end that handles the Error.ERROR exception and reports    (* a wrapper around the front-end that handles the Error.ERROR exception and reports
# Line 93  Line 93 
93                  (* end case *))                  (* end case *))
94            val simple = PhaseTimer.withTimer Timers.timeFront frontEnd filename            val simple = PhaseTimer.withTimer Timers.timeFront frontEnd filename
95          (***** TRANSLATION TO HIGH IL*****)          (***** TRANSLATION TO HIGH IL*****)
96              val high = Translate.translate simple
97              val _ = dump Ctl.dumpHighIL HighPP.output "after translate" high
98  (* TODO *)  (* TODO *)
99          (***** HIGH-IL OPTIMIZATION *****)          (***** HIGH-IL OPTIMIZATION *****)
100  (* TODO *)  (* TODO *)

Legend:
Removed from v.3453  
changed lines
  Added in v.3506

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