mirror of
https://github.com/golang/go
synced 2024-11-23 05:00:07 -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) {
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user