]> Cypherpunks repositories - gostls13.git/commit
5g: fix build on Plan 9
authorLucio De Re <lucio.dere@gmail.com>
Mon, 29 Aug 2011 13:34:52 +0000 (09:34 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 29 Aug 2011 13:34:52 +0000 (09:34 -0400)
commit65276933cd70115fffbaa2ef877f97745af069ea
treeef19c0a74d6da7bfa0647aafc9241e339ae1c10d
parent0b12223fbe25d3c9d05b63179c7d063e4885df1a
5g: fix build on Plan 9

5g/cgen.c:
. USED(n4) as it is only mentioned in unreachable code later;
. dropped unused assignments;
. commented out unreachable code;
5g/cgen64.c:
5g/ggen.c:
. dropped unused assignments of function return value;
5g/gg.h:
. added varargck pragmas;
5g/peep.c:
. USED(p1) used only in unreacheable code;
. commented out unreachable code;
5g/reg.c:
. dropped unused assignment;

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4953048
src/cmd/5g/cgen.c
src/cmd/5g/cgen64.c
src/cmd/5g/gg.h
src/cmd/5g/ggen.c
src/cmd/5g/peep.c
src/cmd/5g/reg.c