[MLton-commit] r4220

Matthew Fluet MLton@mlton.org
Mon, 14 Nov 2005 20:29:42 -0800


Syntax and type errors
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/mlton/backend/ssa-to-rssa.fun
U   mlton/branches/on-20050822-x86_64-branch/runtime/platform.c

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

Modified: mlton/branches/on-20050822-x86_64-branch/mlton/backend/ssa-to-rssa.fun
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/mlton/backend/ssa-to-rssa.fun	2005-11-15 04:05:35 UTC (rev 4219)
+++ mlton/branches/on-20050822-x86_64-branch/mlton/backend/ssa-to-rssa.fun	2005-11-15 04:29:39 UTC (rev 4220)
@@ -160,7 +160,7 @@
                         end,
             readsStackTop = true,
             return = unit,
-            target = Direct "Thread_switchTo",
+            target = Direct "GC_switchToThread",
             writesStackTop = true}
 
       fun weakCanGet {arg} =

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/platform.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/platform.c	2005-11-15 04:05:35 UTC (rev 4219)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/platform.c	2005-11-15 04:29:39 UTC (rev 4220)
@@ -27,7 +27,7 @@
   CommandLine_argv = (uint)(argv + start);
 }
 
-void MLton_exit (Int status, GC_state s) {
+void MLton_exit (GC_state s, Int status) {
   GC_done (s);
   exit (status);
 }