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
55b145e3
Commit
55b145e3
authored
Mar 27, 2010
by
Dean Prichard
Committed by
Russ Cox
Mar 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm: fix build
R=rsc CC=golang-dev
https://golang.org/cl/800041
parent
97d0e8fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
ggen.c
src/cmd/5g/ggen.c
+4
-5
arm-pass.txt
test/arm-pass.txt
+0
-1
No files found.
src/cmd/5g/ggen.c
View file @
55b145e3
...
@@ -87,10 +87,8 @@ compile(Node *fn)
...
@@ -87,10 +87,8 @@ compile(Node *fn)
if
(
pret
)
if
(
pret
)
patch
(
pret
,
pc
);
patch
(
pret
,
pc
);
ginit
();
if
(
curfn
->
exit
)
if
(
curfn
->
exit
)
genlist
(
curfn
->
exit
);
genlist
(
curfn
->
exit
);
gclean
();
if
(
nerrors
!=
0
)
if
(
nerrors
!=
0
)
goto
ret
;
goto
ret
;
if
(
hasdefer
)
if
(
hasdefer
)
...
@@ -427,9 +425,10 @@ void
...
@@ -427,9 +425,10 @@ void
cgen_ret
(
Node
*
n
)
cgen_ret
(
Node
*
n
)
{
{
genlist
(
n
->
list
);
// copy out args
genlist
(
n
->
list
);
// copy out args
if
(
hasdefer
)
if
(
hasdefer
||
curfn
->
exit
)
ginscall
(
deferreturn
,
0
);
gjmp
(
pret
);
gins
(
ARET
,
N
,
N
);
else
gins
(
ARET
,
N
,
N
);
}
}
/*
/*
...
...
test/arm-pass.txt
View file @
55b145e3
...
@@ -27,7 +27,6 @@ convlit1.go
...
@@ -27,7 +27,6 @@ convlit1.go
declbad.go
declbad.go
empty.go
empty.go
escape.go
escape.go
escape1.go
fixedbugs/bug000.go
fixedbugs/bug000.go
fixedbugs/bug001.go
fixedbugs/bug001.go
fixedbugs/bug002.go
fixedbugs/bug002.go
...
...
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