[MLton-commit] r5649
Matthew Fluet
fluet at mlton.org
Tue Jun 19 07:43:40 PDT 2007
Treat ML characters as unsigned
----------------------------------------------------------------------
U mlton/branches/on-20050822-x86_64-branch/doc/x86_64-port-notes/TODO
U mlton/branches/on-20050822-x86_64-branch/mlton/elaborate/elaborate-core.fun
U mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c
----------------------------------------------------------------------
Modified: mlton/branches/on-20050822-x86_64-branch/doc/x86_64-port-notes/TODO
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/doc/x86_64-port-notes/TODO 2007-06-19 14:42:05 UTC (rev 5648)
+++ mlton/branches/on-20050822-x86_64-branch/doc/x86_64-port-notes/TODO 2007-06-19 14:43:39 UTC (rev 5649)
@@ -14,10 +14,6 @@
http://mlton.org/pipermail/mlton/2006-June/028946.html
+ http://mlton.org/pipermail/mlton/2006-June/028947.html
-(* Char signedness *)
-http://mlton.org/pipermail/mlton/2006-July/028970.html
- + http://mlton.org/pipermail/mlton/2006-July/028982.html
-
(* auto-gen GC specific runtime imports *)
http://mlton.org/pipermail/mlton/2006-July/028975.html
Modified: mlton/branches/on-20050822-x86_64-branch/mlton/elaborate/elaborate-core.fun
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/mlton/elaborate/elaborate-core.fun 2007-06-19 14:42:05 UTC (rev 5648)
+++ mlton/branches/on-20050822-x86_64-branch/mlton/elaborate/elaborate-core.fun 2007-06-19 14:43:39 UTC (rev 5649)
@@ -740,7 +740,7 @@
let
open CType
in
- [Int8, Int16, Int32]
+ [Word8, Word16, Word32]
end)
@ sized (Tycon.int o IntSize.fromBits,
let
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 2007-06-19 14:42:05 UTC (rev 5648)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c 2007-06-19 14:43:39 UTC (rev 5649)
@@ -114,12 +114,12 @@
"typedef Word64_t WordU64_t;",
"typedef Word64_t WordU64;",
"",
- "typedef WordS8_t Char8_t;",
- "typedef WordS8_t Char8;",
- "typedef WordS16_t Char16_t;",
- "typedef WordS16_t Char16;",
- "typedef WordS32_t Char32_t;",
- "typedef WordS32_t Char32;",
+ "typedef WordU8_t Char8_t;",
+ "typedef WordU8_t Char8;",
+ "typedef WordU16_t Char16_t;",
+ "typedef WordU16_t Char16;",
+ "typedef WordU32_t Char32_t;",
+ "typedef WordU32_t Char32;",
"",
"typedef Vector(Char8_t) String8_t;",
"typedef Vector(Char8_t) String8;",
More information about the MLton-commit
mailing list