]> Cypherpunks repositories - gostls13.git/commit
cleanup in preparation for new scoping.
authorRuss Cox <rsc@golang.org>
Fri, 10 Jul 2009 23:29:26 +0000 (16:29 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 10 Jul 2009 23:29:26 +0000 (16:29 -0700)
commit0dadc4fe4fb3124fcaed535c92bdc2354205e521
tree0acef8729ebc7624b6ad363a7a1164edb5a4dc13
parented124a971e4df928011d4409af5fe72b95403dec
cleanup in preparation for new scoping.

walkstate -> walkstmt
walktype -> walkexpr; stmts moved to walkstmt

walktype and friends have a final Node **init
argument that can have side effects appended,
making it more explicit when they do and do not happen.
this replaces the old global addtop and addtotop.

delete switch map and interface conversion cases
(dropped from the language months ago).

R=ken
OCL=31465
CL=31468
src/cmd/gc/dcl.c
src/cmd/gc/go.h
src/cmd/gc/go.y
src/cmd/gc/sinit.c
src/cmd/gc/subr.c
src/cmd/gc/swt.c
src/cmd/gc/walk.c