]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: fix OANDAND and OOROR type
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 27 Aug 2015 17:11:08 +0000 (10:11 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 27 Aug 2015 17:26:52 +0000 (17:26 +0000)
commit35ad1fcb11c64ebd7e54f8eebf065ba118045357
treee8a3f83be3e25d01ebcf21c3dcc4eec616636f89
parent7cadf23afb3c54f36758d09710b87a0a9db4b4b9
[dev.ssa] cmd/compile: fix OANDAND and OOROR type

The old backend doesn't like ideal types,
and we want to reuse its stackmap generation.

OOROR and OANDAND expressions have ideal type.
The old backend didn't care,
because those expressions got rewritten away into
jumps before stackmap generation.

Fix the type during conversion.

Change-Id: I488e7499298d9aec71da39c202f6a7235935bc8d
Reviewed-on: https://go-review.googlesource.com/13980
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/ssa.go