Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/compiler/FLINT/clos/closure.sml
ViewVC logotype

Diff of /sml/trunk/compiler/FLINT/clos/closure.sml

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

sml/trunk/src/compiler/FLINT/clos/closure.sml revision 898, Mon Aug 13 17:44:08 2001 UTC sml/trunk/compiler/FLINT/clos/closure.sml revision 2162, Thu Nov 2 21:20:47 2006 UTC
# Line 1021  Line 1021 
1021               | SOME v => (enter(v,t),b))               | SOME v => (enter(v,t),b))
1022    
1023        (* process the rest groups in free *)        (* process the rest groups in free *)
1024        fun h([],i,r,t,b) = m(r,t,b)        fun h([],i:int,r,t,b) = m(r,t,b)
1025          | h((v,_,j)::z,i,r,t,b) =          | h((v,_,j)::z,i,r,t,b) =
1026              if j = i then h(z,i,enter(v,r),t,b)              if j = i then h(z,i,enter(v,r),t,b)
1027              else let val (nt,nb) = m(r,t,b)              else let val (nt,nb) = m(r,t,b)
# Line 2033  Line 2033 
2033             val ne = close(e,augValue(w,t,env),sn,csg,csf,ret)             val ne = close(e,augValue(w,t,env),sn,csg,csf,ret)
2034          in header(PURE(i,args,w,t,ne))          in header(PURE(i,args,w,t,ne))
2035         end         end
2036      | RCC(p,args,w,t,e) =>      | RCC(k,l,p,args,wtl,e) =>
2037         let val (env,header) = fixAccess(args,env)         let val (env,header) = fixAccess(args,env)
2038             val ne = close(e,augValue(w,t,env),sn,csg,csf,ret)             val ne = close(e,foldl (fn((w, t), env) =>
2039          in header(RCC(p,args,w,t,ne))                                       augValue(w,t,env)) env wtl,
2040                              sn,csg,csf,ret)
2041            in header(RCC(k,l,p,args,wtl,ne))
2042         end         end
2043    
2044  (***************************************************************************  (***************************************************************************

Legend:
Removed from v.898  
changed lines
  Added in v.2162

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