]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: dump contents when rulegen generates invalid code
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 21 Jan 2020 20:23:20 +0000 (12:23 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 20 Feb 2020 22:33:55 +0000 (22:33 +0000)
commit0f7088ade502250a65402efde32c31f9c57f457b
tree09a0313796c21df9d9bf1ccde265f220539e7111
parent2dfdd85c4f3a5ca1b127644e8c7c6b2ba5a89bca
cmd/compile: dump contents when rulegen generates invalid code

It's much easier to debug when you can see
the contents in order to interpret the error message.

Change-Id: I03bbb9dd3071aeca9577cc725a60d43f78118cf4
Reviewed-on: https://go-review.googlesource.com/c/go/+/215717
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
src/cmd/compile/internal/ssa/gen/rulegen.go