aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorTodd Neal <todd@tneal.org>2015-06-23 18:59:52 -0500
committerRuss Cox <rsc@golang.org>2015-06-26 15:55:22 +0000
commit765c0f37ed4d716eebd2965acd0b79f5b614e617 (patch)
tree6002d610bdd14251c97779d4e2d98cc6e9d49513 /src/debug
parentcd0a8ed48a4a71fb4fdb3d3b22f91d2335e4793a (diff)
downloadgo-765c0f37ed4d716eebd2965acd0b79f5b614e617.tar.xz
cmd/compile: fix half multiply issue
In walkdiv, an OMUL node was created and passed to typecheck, before the op was changed back to OHMUL. In some instances, the node that came back was an evaluated literal constant that occurred with a full multiply. The end result was a literal node with a non-shifted value and an OHMUL op. This change causes code to be generated for the OHMUL. Fixes #11358 Fixes #11369 Change-Id: If42a98c6830d07fe065d5ca57717704fb8cfbd33 Reviewed-on: https://go-review.googlesource.com/11400 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions