summaryrefslogtreecommitdiff
path: root/src/cmd/gc/walk.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-02-21 17:01:13 -0500
committerRuss Cox <rsc@golang.org>2013-02-21 17:01:13 -0500
commit917130a4b8c821959d927e941dd939f5c3120064 (patch)
tree112321d3db21ebeb49ea4ff2f63f9916e6362814 /src/cmd/gc/walk.c
parent896eaf9e38357102d352aec3e9e2d56de2d209e3 (diff)
downloadgo-917130a4b8c821959d927e941dd939f5c3120064.tar.gz
cmd/gc, reflect, runtime: switch to indirect func value representation
Step 1 of http://golang.org/s/go11func. R=golang-dev, r, daniel.morsing, remyoudompheng CC=golang-dev https://codereview.appspot.com/7393045
Diffstat (limited to 'src/cmd/gc/walk.c')
-rw-r--r--src/cmd/gc/walk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c
index 4e751cbce..ce76c6b89 100644
--- a/src/cmd/gc/walk.c
+++ b/src/cmd/gc/walk.c
@@ -416,7 +416,7 @@ walkexpr(Node **np, NodeList **init)
switch(n->op) {
default:
dump("walk", n);
- fatal("walkexpr: switch 1 unknown op %N", n);
+ fatal("walkexpr: switch 1 unknown op %+hN", n);
break;
case OTYPE:
@@ -442,7 +442,6 @@ walkexpr(Node **np, NodeList **init)
usefield(n);
walkexpr(&n->left, init);
goto ret;
-
case OEFACE:
walkexpr(&n->left, init);