]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: fix mknode script
authorKeith Randall <khr@golang.org>
Tue, 19 Jul 2022 16:07:38 +0000 (09:07 -0700)
committerKeith Randall <khr@google.com>
Tue, 19 Jul 2022 19:51:06 +0000 (19:51 +0000)
commit8e1e64c16a4d53c06ed4f2287fc11eeb5029ca1a
tree8f64c388bbd543d7711bb69f13dc77c345b66098
parent28be440d3434a440d0c144ba2128b30ce9771ecf
cmd/compile: fix mknode script

It's not currently working. Somehow a field of type []constant.Value
causes it to barf. (That field was added with jump table statements.)

Also added some instructions about how to run it correctly (which took
me a suprisingly long time to figure out).

Larger improvements coming, but this gets us to a working state
and is safe for 1.19.

Change-Id: I3027356fde1294942e87d075ca28bb40d2c0d6c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/418234
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ir/mini.go
src/cmd/compile/internal/ir/mknode.go