Commit 0cdc0b3b authored by Russ Cox's avatar Russ Cox

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
parent aa5aaabb
......@@ -193,7 +193,7 @@ cgen(Node *n, Node *res)
switch(n->op) {
default:
dump("cgen", n);
fatal("cgen: unknown op %N", n);
fatal("cgen: unknown op %+hN", n);
break;
case OREAL:
......@@ -598,7 +598,7 @@ agen(Node *n, Node *res)
switch(n->op) {
default:
fatal("agen: unknown op %N", n);
fatal("agen: unknown op %+hN", n);
break;
case OCALLMETH:
......
......@@ -191,7 +191,7 @@ cgen(Node *n, Node *res)
switch(n->op) {
default:
dump("cgen", n);
fatal("cgen: unknown op %N", n);
fatal("cgen: unknown op %+hN", n);
break;
// these call bgen to get a bool value
......@@ -820,7 +820,7 @@ agen(Node *n, Node *res)
switch(n->op) {
default:
fatal("agen: unknown op %N", n);
fatal("agen: unknown op %+hN", n);
break;
case OCALLMETH:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment