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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/low-to-tree/low-to-tree.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/low-to-tree/low-to-tree.sml

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

revision 3974, Wed Jun 15 13:53:38 2016 UTC revision 3995, Sat Jun 18 20:00:19 2016 UTC
# Line 832  Line 832 
832          (* first step is to flatten any nested CONS nodes *)          (* first step is to flatten any nested CONS nodes *)
833            val prog = Flatten.transform prog            val prog = Flatten.transform prog
834            val LowIR.Program{            val LowIR.Program{
835                    props, consts, inputs, constInit, globals, globalInit, strand, create, update                    props, consts, inputs, constInit, globals,
836                      globInit, strand, create, init, update
837                  } = prog                  } = prog
838            val trCFG = trCFG info            val trCFG = trCFG info
839            in            in
# Line 843  Line 844 
844                  inputs = List.map (Inputs.map mkGlobalVar) inputs,                  inputs = List.map (Inputs.map mkGlobalVar) inputs,
845                  constInit = trCFG constInit,                  constInit = trCFG constInit,
846                  globals = List.map mkGlobalVar globals,                  globals = List.map mkGlobalVar globals,
847                  globalInit = trCFG globalInit,                  globInit = trCFG globInit,
848                  strand = trStrand info strand,                  strand = trStrand info strand,
849                  create = let                  create = let
850                    val IR.Create{dim, code} = create                    val IR.Create{dim, code} = create
851                    in                    in
852                      T.Create{dim = dim, code = trCFG code}                      T.Create{dim = dim, code = trCFG code}
853                    end,                    end,
854                    init = Option.map trCFG init,
855                  update = Option.map trCFG update                  update = Option.map trCFG update
856                }                }
857            end            end

Legend:
Removed from v.3974  
changed lines
  Added in v.3995

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