]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix type of OffPtr generated by ODOTPTR
authorMichael Munday <munday@ca.ibm.com>
Sun, 19 Feb 2017 17:10:18 +0000 (12:10 -0500)
committerMichael Munday <munday@ca.ibm.com>
Tue, 21 Feb 2017 19:28:38 +0000 (19:28 +0000)
commit10d718b9839dc7b1c55761d6c9f3001fac498cd0
tree8e4ff2bb1de165f3d7933ac25c97087ee91cfacb
parentea020ff3de9482726ce7019ac43c1d301ce5e3de
cmd/compile: fix type of OffPtr generated by ODOTPTR

The type of the OffPtr should be consistent with the type of the
following load. Before this CL it was typed as a pointer to the
struct.

Fixes #19164.

Change-Id: Ibcdec4411c6f719702f76f8dba3cce8691bfbe0c
Reviewed-on: https://go-review.googlesource.com/37254
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/ssa.go