From caa7193c95e1fd19b7665979e252fb78d60ba11f Mon Sep 17 00:00:00 2001 From: Ken Thompson Date: Sun, 6 Jul 2008 11:20:44 -0700 Subject: [PATCH] took out vlong/uvlong/rune conversions SVN=126053 --- src/cmd/6g/align.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/cmd/6g/align.c b/src/cmd/6g/align.c index 82e0ec981e..b43f373c3e 100644 --- a/src/cmd/6g/align.c +++ b/src/cmd/6g/align.c @@ -22,6 +22,10 @@ main(int argc, char *argv[]) static int wptr = 8; // width of a pointer static int wmax = 8; // max rounding +/* + * additionally, go declares several platform-specific type aliases: + * ushort, short, uint, int, ulong, long, float, and double. The bit + */ static char* typedefs[] = { @@ -30,13 +34,13 @@ typedefs[] = "int", "int32", // ints "uint", "uint32", - "rune", "uint32", +// "rune", "uint32", "long", "int64", // longs "ulong", "uint64", - "vlong", "int64", // vlongs - "uvlong", "uint64", +// "vlong", "int64", // vlongs +// "uvlong", "uint64", "float", "float32", // floats "double", "float64",