CVS: sml-dist/src/compiler/FLINT/trans translate.sml, 1.33.4.10, 1.33.4.11
George Kuan <[email protected]> Mon, 17 Jul 2006 19:03:34 -0700
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml-dist/src/compiler/FLINT/trans
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv5548/FLINT/trans
Modified Files:
Tag: primop-branch-2
translate.sml
Log Message:
more debug info printout for prune looping bug -- peql type pruning causes problems
Index: translate.sml
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/src/compiler/FLINT/trans/translate.sml,v
retrieving revision 1.33.4.10
retrieving revision 1.33.4.11
diff -C2 -d -r1.33.4.10 -r1.33.4.11
*** translate.sml 18 Jul 2006 01:10:33 -0000 1.33.4.10
--- translate.sml 18 Jul 2006 02:03:32 -0000 1.33.4.11
***************
*** 863,867 ****
(* compute intrinsic instantiation params of intrinsicType *)
case ((TU.matchInstTypes(occty, intrinsicType)) : (TP.tyvar list * TP.tyvar list) option )
! of SOME(_, tvs) => (print ("tvs length "^ (Int.toString (length tvs)) ^"\n"); map TU.pruneTyvar tvs)
| NONE => (complain EM.COMPLAIN "matchInstTypes"
(fn ppstrm =>
--- 863,870 ----
(* compute intrinsic instantiation params of intrinsicType *)
case ((TU.matchInstTypes(occty, intrinsicType)) : (TP.tyvar list * TP.tyvar list) option )
! of SOME(_, tvs) =>
! (print ("tvs length "^ (Int.toString (length tvs)) ^"\n");
! complain EM.WARN "mkVE ->matchInstTypes -> pruneTyvar " (fn ppstrm => PPVal.ppDebugVar (fn x => "") ppstrm env e);
! map TU.pruneTyvar tvs)
| NONE => (complain EM.COMPLAIN "matchInstTypes"
(fn ppstrm =>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV