Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
caa7193c
Commit
caa7193c
authored
Jul 06, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
took out vlong/uvlong/rune conversions
SVN=126053
parent
4d6d4e7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
align.c
src/cmd/6g/align.c
+7
-3
No files found.
src/cmd/6g/align.c
View file @
caa7193c
...
@@ -22,6 +22,10 @@ main(int argc, char *argv[])
...
@@ -22,6 +22,10 @@ main(int argc, char *argv[])
static
int
wptr
=
8
;
// width of a pointer
static
int
wptr
=
8
;
// width of a pointer
static
int
wmax
=
8
;
// max rounding
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
*
static
char
*
typedefs
[]
=
typedefs
[]
=
{
{
...
@@ -30,13 +34,13 @@ typedefs[] =
...
@@ -30,13 +34,13 @@ typedefs[] =
"int"
,
"int32"
,
// ints
"int"
,
"int32"
,
// ints
"uint"
,
"uint32"
,
"uint"
,
"uint32"
,
"rune"
,
"uint32"
,
//
"rune", "uint32",
"long"
,
"int64"
,
// longs
"long"
,
"int64"
,
// longs
"ulong"
,
"uint64"
,
"ulong"
,
"uint64"
,
"vlong"
,
"int64"
,
// vlongs
//
"vlong", "int64", // vlongs
"uvlong"
,
"uint64"
,
//
"uvlong", "uint64",
"float"
,
"float32"
,
// floats
"float"
,
"float32"
,
// floats
"double"
,
"float64"
,
"double"
,
"float64"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment