Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/cmd/8c/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)
}
break
;
case
Aarg1
:
/* initial al
l
ign of parameter */
case
Aarg1
:
/* initial align of parameter */
w
=
ewidth
[
t
->
etype
];
if
(
w
<=
0
||
w
>=
SZ_LONG
)
{
w
=
SZ_LONG
;
...
...
@@ -552,7 +552,9 @@ align(int32 i, Type *t, int op)
case
Aarg2
:
/* width of a parameter */
o
+=
t
->
width
;
w
=
SZ_LONG
;
w
=
t
->
width
;
if
(
w
>
SZ_LONG
)
w
=
SZ_LONG
;
break
;
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