1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:44:41 -07:00
go/ssa
Alan Donovan 06a43b8a0c go.tools/ssa: fix regression in x<<y logic from CL 11011043
Details:
- reintroduce interp.asUint64: it's not sound to use only the
  low 32 bits of y, which is what asInt gives us, when GOARCH=386.
- instead, emit a uint64 conversion when y is not unsigned
  (i.e. a signed var, or an untyped constant).

Tested on 386 & x86-64.

R=gri
CC=golang-dev
https://golang.org/cl/11023043
2013-07-09 10:21:25 -04:00
..
interp go.tools/ssa: fix regression in x<<y logic from CL 11011043 2013-07-09 10:21:25 -04:00
blockopt.go go.tools: add missing files ssa/*.go 2013-05-17 13:25:48 -07:00
builder.go go.tools/ssa: remove workaround for missing go/types check, now fixed. 2013-07-03 17:54:55 -04:00
create.go go.tools/ssa: Function.Synthetic documents provenance of synthetic functions. 2013-07-03 17:57:20 -04:00
doc.go go.tools/ssa: Function.Synthetic documents provenance of synthetic functions. 2013-07-03 17:57:20 -04:00
dom.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
emit.go go.tools/ssa: fix regression in x<<y logic from CL 11011043 2013-07-09 10:21:25 -04:00
example_test.go go.tools/ssa: Function.Synthetic documents provenance of synthetic functions. 2013-07-03 17:57:20 -04:00
func.go go.tools/ssa: Function.Synthetic documents provenance of synthetic functions. 2013-07-03 17:57:20 -04:00
lift.go go.tools/ssa: small changes accumulated during gri's vacation. :) 2013-06-13 14:43:35 -04:00
literal.go go.tools/ssa: Select now returns received values by tuple, not interface. 2013-06-24 14:15:13 -04:00
lvalue.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
print.go go.tools/ssa: some renamings. 2013-07-01 15:24:50 -04:00
promote.go go.tools/ssa: Function.Synthetic documents provenance of synthetic functions. 2013-07-03 17:57:20 -04:00
sanity.go go.tools/ssa: avoid redundant uint64 conversion of right operand of <<, >>. 2013-07-08 17:33:51 -04:00
source_ast.go go.tools/ssa: small changes accumulated during gri's vacation. :) 2013-06-13 14:43:35 -04:00
source_test.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
source.go go.tools/ssa: give consistent positions for CanonicalPos(Literal). 2013-07-08 18:02:50 -04:00
ssa.go go.tools/ssa: give consistent positions for CanonicalPos(Literal). 2013-07-08 18:02:50 -04:00
ssadump.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
util.go go.tools/ssa: memoize synthesis of all wrapper methods. 2013-06-14 15:50:37 -04:00