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
7fbf9fcb
Commit
7fbf9fcb
authored
Mar 25, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make alignment rules match 8g, just like 6c matches 6g.
R=ken2 CC=golang-dev
https://golang.org/cl/760042
parent
78c27ed6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
swt.c
src/cmd/8c/swt.c
+4
-2
No files found.
src/cmd/8c/swt.c
View file @
7fbf9fcb
...
@@ -541,7 +541,7 @@ align(int32 i, Type *t, int op)
...
@@ -541,7 +541,7 @@ align(int32 i, Type *t, int op)
}
}
break
;
break
;
case
Aarg1
:
/* initial al
l
ign of parameter */
case
Aarg1
:
/* initial align of parameter */
w
=
ewidth
[
t
->
etype
];
w
=
ewidth
[
t
->
etype
];
if
(
w
<=
0
||
w
>=
SZ_LONG
)
{
if
(
w
<=
0
||
w
>=
SZ_LONG
)
{
w
=
SZ_LONG
;
w
=
SZ_LONG
;
...
@@ -552,7 +552,9 @@ align(int32 i, Type *t, int op)
...
@@ -552,7 +552,9 @@ align(int32 i, Type *t, int op)
case
Aarg2
:
/* width of a parameter */
case
Aarg2
:
/* width of a parameter */
o
+=
t
->
width
;
o
+=
t
->
width
;
w
=
SZ_LONG
;
w
=
t
->
width
;
if
(
w
>
SZ_LONG
)
w
=
SZ_LONG
;
break
;
break
;
case
Aaut3
:
/* total allign of automatic */
case
Aaut3
:
/* total allign of automatic */
...
...
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