1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:54:45 -07:00

arm: fix build

R=rsc
CC=golang-dev
https://golang.org/cl/800041
This commit is contained in:
Dean Prichard 2010-03-26 23:27:24 -07:00 committed by Russ Cox
parent 97d0e8fe6c
commit 55b145e32a
2 changed files with 4 additions and 6 deletions

View File

@ -87,10 +87,8 @@ compile(Node *fn)
if(pret)
patch(pret, pc);
ginit();
if(curfn->exit)
genlist(curfn->exit);
gclean();
if(nerrors != 0)
goto ret;
if(hasdefer)
@ -427,9 +425,10 @@ void
cgen_ret(Node *n)
{
genlist(n->list); // copy out args
if(hasdefer)
ginscall(deferreturn, 0);
gins(ARET, N, N);
if(hasdefer || curfn->exit)
gjmp(pret);
else
gins(ARET, N, N);
}
/*

View File

@ -27,7 +27,6 @@ convlit1.go
declbad.go
empty.go
escape.go
escape1.go
fixedbugs/bug000.go
fixedbugs/bug001.go
fixedbugs/bug002.go