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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/tree-il/tree-il.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/tree-il/tree-il.sml

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

revision 2646, Thu May 29 15:52:23 2014 UTC revision 2662, Fri May 30 16:55:05 2014 UTC
# Line 97  Line 97 
97        | E_Apply of MathFuns.name * exp list        | E_Apply of MathFuns.name * exp list
98        | E_Cons of Ty.ty * exp list        | E_Cons of Ty.ty * exp list
99        | E_LoadVec of int * int * exp * exp   (*Type:NativeVecTy newVec,  originalVec, addr, offset *)        | E_LoadVec of int * int * exp * exp   (*Type:NativeVecTy newVec,  originalVec, addr, offset *)
100        | E_FillVec of int * int * exp * exp   (*Type:NativeVecTy newVec,  originalVec, addr, offset *)       (* | E_FillVec of int * int * exp * exp   (*Type:NativeVecTy newVec,  originalVec, addr, offset *)
101        | E_SliceVec of int * int * exp * exp   (*Type:NativeVecTy newVec,  originalVec, addr, offset *)        | E_SliceVec of int * int * exp * exp   (*Type:NativeVecTy newVec,  originalVec, addr, offset *)
102         *)
103        | E_mkVec   of int *int  *Ty.ty* exp list   (*vec length,  originalVec,Type:vectorLength(list),  list of ops*)        | E_mkVec   of int *int  *Ty.ty* exp list   (*vec length,  originalVec,Type:vectorLength(list),  list of ops*)
104    
105    
# Line 188  Line 189 
189       | toString (E_State x) = "State"       | toString (E_State x) = "State"
190       | toString (E_Var x) = Var.name x       | toString (E_Var x) = Var.name x
191       | toString (E_Lit lit) = Literal.toString lit       | toString (E_Lit lit) = Literal.toString lit
192       | toString(E_FillVec(tyNew, tyOrig, arg, offset))=String.concat["FillVec<",     (*  | toString(E_FillVec(tyNew, tyOrig, arg, offset))=String.concat["FillVec<",
193           q tyNew ,":",q  tyOrig, ">", "(", toString arg, ",", toString offset, ")"]           q tyNew ,":",q  tyOrig, ">", "(", toString arg, ",", toString offset, ")"]
194      | toString(E_SliceVec(tyNew, tyOrig, arg, offset)) = String.concat["SliceVec<",      | toString(E_SliceVec(tyNew, tyOrig, arg, offset)) = String.concat["SliceVec<",
195               q tyNew ,":",q  tyOrig, ">", "(", toString arg, ",", toString offset, ")"]               q tyNew ,":",q  tyOrig, ">", "(", toString arg, ",", toString offset, ")"]
196    *)
197    end    end

Legend:
Removed from v.2646  
changed lines
  Added in v.2662

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