1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:40:04 -07:00

cmd/5g, cmd/6g: fix node dump formats

lvd changed the old %N to %+hN and these
never got updated.

R=ken2
CC=golang-dev
https://golang.org/cl/7391045
This commit is contained in:
Russ Cox 2013-02-21 12:53:25 -05:00
parent aa5aaabb0d
commit 0cdc0b3b78
2 changed files with 4 additions and 4 deletions

View File

@ -193,7 +193,7 @@ cgen(Node *n, Node *res)
switch(n->op) { switch(n->op) {
default: default:
dump("cgen", n); dump("cgen", n);
fatal("cgen: unknown op %N", n); fatal("cgen: unknown op %+hN", n);
break; break;
case OREAL: case OREAL:
@ -598,7 +598,7 @@ agen(Node *n, Node *res)
switch(n->op) { switch(n->op) {
default: default:
fatal("agen: unknown op %N", n); fatal("agen: unknown op %+hN", n);
break; break;
case OCALLMETH: case OCALLMETH:

View File

@ -191,7 +191,7 @@ cgen(Node *n, Node *res)
switch(n->op) { switch(n->op) {
default: default:
dump("cgen", n); dump("cgen", n);
fatal("cgen: unknown op %N", n); fatal("cgen: unknown op %+hN", n);
break; break;
// these call bgen to get a bool value // these call bgen to get a bool value
@ -820,7 +820,7 @@ agen(Node *n, Node *res)
switch(n->op) { switch(n->op) {
default: default:
fatal("agen: unknown op %N", n); fatal("agen: unknown op %+hN", n);
break; break;
case OCALLMETH: case OCALLMETH: