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-to-opr.sml
ViewVC logotype

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

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

revision 3543, Mon Jan 4 21:06:20 2016 UTC revision 3544, Tue Jan 5 00:01:44 2016 UTC
# Line 65  Line 65 
65              | IL.S_Exit exps                => List.foldr (fn(e1,e2)=> expToOpr(e2,e1)) set1 exps              | IL.S_Exit exps                => List.foldr (fn(e1,e2)=> expToOpr(e2,e1)) set1 exps
66              | IL.S_Copy(_,exp,offset,1)     => expToOpr(set1,exp)              | IL.S_Copy(_,exp,offset,1)     => expToOpr(set1,exp)
67              | IL.S_Copy(_,exp,offset,n)     => addToSet(set1,([],[Fnc.COPY n]),[exp])              | IL.S_Copy(_,exp,offset,n)     => addToSet(set1,([],[Fnc.COPY n]),[exp])
68              | IL.S_StoreVec(_,_,A,true,oSize,ty,Ty.vectorLength pieces,exps) => let              | IL.S_StoreVec(_,_,A,true,oSize,ty, pieces,exps) => let
69                  val typ=[vecTy oSize,Ty.unionTy oSize]                  val typ=[vecTy oSize(*,Ty.unionTy oSize*)]
70                  val fnc=List.map (fn p => Fnc.STORE (A,oSize, p)) pieces                  val fnc=List.map (fn p => Fnc.STORE (A,oSize, p)) pieces
71                  in                  in
72                     addToSet(set1, (typ,fnc),exps)                     addToSet(set1, (typ,fnc),exps)
73                  end                  end
74              | IL.S_StoreVec(_,_,A,_,oSize,ty,Ty.vectorLength pieces,exps) => let              | IL.S_StoreVec(_,_,A,_,oSize,ty, pieces,exps) => let
75                  val typ=[vecTy oSize,Ty.unionTy oSize]                  val typ=[vecTy oSize(*,Ty.unionTy oSize*)]
76                  val fnc=List.map (fn p => Fnc.STORE (A,p,p)) pieces                  val fnc=List.map (fn p => Fnc.STORE (A,p,p)) pieces
77                  in                  in
78                     addToSet(set1, (typ,fnc),exps)                     addToSet(set1, (typ,fnc),exps)

Legend:
Removed from v.3543  
changed lines
  Added in v.3544

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