]> Cypherpunks repositories - gostls13.git/commit
[dev.power64] 9g: fix addr width calculation; enable MOV* width check
authorAustin Clements <austin@google.com>
Thu, 6 Nov 2014 19:41:44 +0000 (14:41 -0500)
committerAustin Clements <austin@google.com>
Thu, 6 Nov 2014 19:41:44 +0000 (14:41 -0500)
commit22c929f538483a02707b2caef91a1d3b55a72ef5
tree93dbb376f99225ef889d2337c6a31c616bd5693c
parentf45fd5753c4f1fd6ab472e219598523516855b40
[dev.power64] 9g: fix addr width calculation; enable MOV* width check

9g's naddr was missing assignments to a->width in several
cases, so the optimizer was getting bogus width information.
Add them.

This correct width information also lets us enable the width
check in gins for MOV*.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/167310043
src/cmd/9g/gsubr.c