diff options
author | Russ Cox <rsc@golang.org> | 2009-08-04 12:57:48 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-08-04 12:57:48 -0700 |
commit | 3c1978753e224aaa40f2ec3d817ba4f59c4794c9 (patch) | |
tree | 32a38aa58208c62e97a0fa2f6e011f685ae940b7 /src/cmd/gc/subr.c | |
parent | 1e2833c42ac62b80c2f2798aa3cf0b606f6b6e03 (diff) | |
download | golang-3c1978753e224aaa40f2ec3d817ba4f59c4794c9.tar.gz |
move select into its own file.
split into typecheck + walk
R=ken
OCL=32726
CL=32726
Diffstat (limited to 'src/cmd/gc/subr.c')
-rw-r--r-- | src/cmd/gc/subr.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 52cd3a09d..be99a2afc 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -575,6 +575,15 @@ dodump(Node *n, int dep) print("%O%J\n", n->op, n); dodump(n->left, dep+1); break; + + case OXCASE: + print("%N\n", n); + dodump(n->left, dep+1); + dodump(n->right, dep+1); + indent(dep); + print("%O-nbody\n", n->op); + dodumplist(n->nbody, dep+1); + break; } if(n->ntype != nil) { |