[MLton-commit] r4540

Stephen Weeks MLton@mlton.org
Mon, 15 May 2006 17:21:21 -0700


Improved definition of PointerAux type.

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

U   mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c

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

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c	2006-05-16 00:20:07 UTC (rev 4539)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c	2006-05-16 00:21:20 UTC (rev 4540)
@@ -66,7 +66,8 @@
   // "typedef void* Pointer;",
   // "typedef uintptr_t Pointer;",
   // "typedef unsigned char* Pointer;",
-  "struct PointerAux { unsigned char z[4]; } __attribute__ ((aligned (4), may_alias));",
+  // "struct PointerAux { unsigned char z[4]; } __attribute__ ((aligned (4), may_alias));",
+  "typedef unsigned char PointerAux __attribute__ ((aligned (4), may_alias));",
   "typedef struct PointerAux* Pointer;",
   "#define Array(t) Pointer",
   "#define Ref(t) Pointer",