]> Cypherpunks repositories - gostls13.git/commitdiff
took out vlong/uvlong/rune conversions
authorKen Thompson <ken@golang.org>
Sun, 6 Jul 2008 18:20:44 +0000 (11:20 -0700)
committerKen Thompson <ken@golang.org>
Sun, 6 Jul 2008 18:20:44 +0000 (11:20 -0700)
SVN=126053

src/cmd/6g/align.c

index 82e0ec981e9b7011ed2cfaf32dcb486df30ca096..b43f373c3ead95b7a51c7055d4a7e0ec1c29b948 100644 (file)
@@ -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",