[MLton-commit] r5441

Matthew Fluet fluet at mlton.org
Thu Mar 15 15:06:23 PST 2007


Merge trunk revisions 5437:5440 into x86_64 branch
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/regression/size2.amd64-linux.ok
U   mlton/branches/on-20050822-x86_64-branch/regression/size2.ok
U   mlton/branches/on-20050822-x86_64-branch/regression/size2.sml

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/regression/size2.amd64-linux.ok
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/regression/size2.amd64-linux.ok	2007-03-15 23:02:43 UTC (rev 5440)
+++ mlton/branches/on-20050822-x86_64-branch/regression/size2.amd64-linux.ok	2007-03-15 23:06:22 UTC (rev 5441)
@@ -22,6 +22,3 @@
 The size of an array of length 10 of tuples of real32 * (arrays of length 20 of ints) is = 1184 bytes.
 The size of an array of length 10 of tuples of real64 * (arrays of length 20 of ints) is = 1224 bytes.
 The size of a useless function is = 0 bytes.
-The size of a continuation option ref is = 11152 bytes.
-13
-The size of a continuation option ref is = 16 bytes.

Modified: mlton/branches/on-20050822-x86_64-branch/regression/size2.ok
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/regression/size2.ok	2007-03-15 23:02:43 UTC (rev 5440)
+++ mlton/branches/on-20050822-x86_64-branch/regression/size2.ok	2007-03-15 23:06:22 UTC (rev 5441)
@@ -22,6 +22,3 @@
 The size of an array of length 10 of tuples of real32 * (arrays of length 20 of ints) is = 1012 bytes.
 The size of an array of length 10 of tuples of real64 * (arrays of length 20 of ints) is = 1052 bytes.
 The size of a useless function is = 0 bytes.
-The size of a continuation option ref is = 8036 bytes.
-13
-The size of a continuation option ref is = 8 bytes.

Modified: mlton/branches/on-20050822-x86_64-branch/regression/size2.sml
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/regression/size2.sml	2007-03-15 23:02:43 UTC (rev 5440)
+++ mlton/branches/on-20050822-x86_64-branch/regression/size2.sml	2007-03-15 23:06:22 UTC (rev 5441)
@@ -71,21 +71,3 @@
 val _ = if 10 = foldl (op +) 0 l
            then ()
         else raise Fail "bug"
-   
-local
-   open MLton.Cont
-in
-   val rc: int option t option ref = ref NONE
-   val _ =
-      case callcc (fn k: int option t => (rc := SOME k; throw (k, NONE))) of
-         NONE => ()
-       | SOME i => print (concat [Int.toString i, "\n"])
-end
-
-val _ =
-   printSize ("a continuation option ref", rc)
-
-val _ =
-   case !rc of
-      NONE => ()
-    | SOME k => (rc := NONE; MLton.Cont.throw (k, SOME 13))




More information about the MLton-commit mailing list