[MLton-commit] r6655

Matthew Fluet fluet at mlton.org
Fri Jun 13 20:38:45 PDT 2008


Assert with isAlignedMax in alignMax
----------------------------------------------------------------------

U   mlton/trunk/runtime/util/align.h

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

Modified: mlton/trunk/runtime/util/align.h
===================================================================
--- mlton/trunk/runtime/util/align.h	2008-06-11 23:43:48 UTC (rev 6654)
+++ mlton/trunk/runtime/util/align.h	2008-06-14 03:38:43 UTC (rev 6655)
@@ -40,6 +40,6 @@
   assert (b >= 1 && b == (b & -b));
   a += b - 1;
   a &= -b;
-  assert (isAligned (a, b));
+  assert (isAlignedMax (a, b));
   return a;       
 }




More information about the MLton-commit mailing list