mirror of
https://github.com/golang/go
synced 2024-11-23 09:20:05 -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:
parent
aa5aaabb0d
commit
0cdc0b3b78
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user