]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add rule location to some rulegen logging
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 22 Jan 2020 17:59:24 +0000 (09:59 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 21 Feb 2020 04:25:16 +0000 (04:25 +0000)
commit60651a1bc8540d9144e69fc71065f4994dfb0bbc
tree13969d3ac974cc9d036744ff93465b8e3afbfdc1
parent6dd11bcb35cba37f5994c1b9aaaf7d2dc13fd7cf
cmd/compile: add rule location to some rulegen logging

This requires threading location information through varCount.

This provides much more useful error messages.

Change-Id: If5ff942cbbbf386724eda15a523c181c137fac20
Reviewed-on: https://go-review.googlesource.com/c/go/+/216221
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