CVS: sml-dist/src/compiler/DebugProf/types reconstruct.sml, 1.3.4.1, 1.3.4.2
George Kuan <[email protected]> Mon, 10 Jul 2006 07:22:36 -0700
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml-dist/src/compiler/DebugProf/types
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25414/compiler/DebugProf/types
Modified Files:
Tag: primop-branch-2
reconstruct.sml
Log Message:
Updated some DebugProf modules to use PrimOpId and param ty var list
Index: reconstruct.sml
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/src/compiler/DebugProf/types/reconstruct.sml,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -d -r1.3.4.1 -r1.3.4.2
*** reconstruct.sml 20 Jun 2006 17:09:18 -0000 1.3.4.1
--- reconstruct.sml 10 Jul 2006 14:22:34 -0000 1.3.4.2
***************
*** 15,35 ****
| reduceType ty = headReduceType ty
! fun expType(VARexp(ref(VALvar{typ=ref ty,...}),instty)) =
! let
! val insttys = (case instty of NONE => [] | SOME t => [t])
! in
(case ty
of POLYty{tyfun,...} => TU.applyTyfun(tyfun,insttys)
| _ => ty)
- end
| expType(VARexp _) = bug "varexp"
! | expType(CONexp(DATACON{typ,...},instty)) =
! let
! val insttys = (case instty of NONE => [] | SOME t => [t])
! in
(case typ
of POLYty{tyfun,...} => TU.applyTyfun(tyfun,insttys)
| _ => typ)
- end
| expType(INTexp (_, t)) = t
| expType(WORDexp (_, t)) = t
--- 15,27 ----
| reduceType ty = headReduceType ty
! fun expType(VARexp(ref(VALvar{typ=ref ty,...}),insttys)) =
(case ty
of POLYty{tyfun,...} => TU.applyTyfun(tyfun,insttys)
| _ => ty)
| expType(VARexp _) = bug "varexp"
! | expType(CONexp(DATACON{typ,...},insttys)) =
(case typ
of POLYty{tyfun,...} => TU.applyTyfun(tyfun,insttys)
| _ => typ)
| expType(INTexp (_, t)) = t
| expType(WORDexp (_, t)) = t
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642