]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: ensure ... rules have compatible aux and auxint types
authorKeith Randall <khr@golang.org>
Mon, 13 Apr 2020 03:05:14 +0000 (20:05 -0700)
committerKeith Randall <khr@golang.org>
Mon, 13 Apr 2020 15:41:40 +0000 (15:41 +0000)
commit1e820a3432029355402aeeaf769b9a4e46eb46aa
tree1747a67dbb270f2cc2f5903e40c2eaf6c168346c
parentdc9879e8fde3af804ac310ee54cf67efdae26aab
cmd/compile: ensure ... rules have compatible aux and auxint types

Otherwise, just copying the aux and auxint fields doesn't make much sense.
(Although there's no bug - it just means it isn't typechecked correctly.)

Change-Id: I4e21ac67f0c7bfd04ed5af1713cd24bca08af092
Reviewed-on: https://go-review.googlesource.com/c/go/+/227962
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/gen/RISCV64.rules
src/cmd/compile/internal/ssa/gen/Wasm.rules
src/cmd/compile/internal/ssa/gen/rulegen.go
src/cmd/compile/internal/ssa/rewriteAMD64.go
src/cmd/compile/internal/ssa/rewriteRISCV64.go
src/cmd/compile/internal/ssa/rewriteWasm.go