[MLton-commit] r6581
Matthew Fluet
fluet at mlton.org
Mon Apr 7 12:35:27 PDT 2008
Fix compile error in runtime/gc/stack.c
----------------------------------------------------------------------
U mlton/trunk/runtime/gc/stack.c
----------------------------------------------------------------------
Modified: mlton/trunk/runtime/gc/stack.c
===================================================================
--- mlton/trunk/runtime/gc/stack.c 2008-04-07 18:56:28 UTC (rev 6580)
+++ mlton/trunk/runtime/gc/stack.c 2008-04-07 19:35:27 UTC (rev 6581)
@@ -147,9 +147,10 @@
size_t sizeofStackMinimumReserved (GC_state s, GC_stack stack) {
size_t res;
- res = alignStackReserved (stack->used
+ res = alignStackReserved (s,
+ stack->used
+ sizeofStackSlop (s)
- - getStackTopFrameSize(s, stack));
+ - getStackTopFrameSize (s, stack));
return res;
}
More information about the MLton-commit
mailing list