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

SCM Repository

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

Diff of /branches/vis15/src/compiler/simplify/simplify.sml

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

revision 4116, Thu Jun 30 14:50:25 2016 UTC revision 4117, Thu Jun 30 14:50:39 2016 UTC
# Line 71  Line 71 
71              cvtTy (SimpleVar.typeOf x)              cvtTy (SimpleVar.typeOf x)
72            end            end
73    
74      fun newTemp ty = SimpleVar.new ("_t", SimpleVar.LocalVar, ty)      fun newTemp (ty as STy.T_Image _) = SimpleVar.new ("img", SimpleVar.LocalVar, ty)
75          | newTemp ty = SimpleVar.new ("_t", SimpleVar.LocalVar, ty)
76    
77    (* a property to map AST variables to SimpleAST variables *)    (* a property to map AST variables to SimpleAST variables *)
78      local      local

Legend:
Removed from v.4116  
changed lines
  Added in v.4117

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