aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/export_test.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2018-10-03 15:47:16 -0700
committerMatthew Dempsky <mdempsky@google.com>2018-10-04 04:08:00 +0000
commitd397d4bffc0fa917fa53970ded4b4d3524f88a5b (patch)
tree4257a6552a26468529d08c10712cdaae5d7854c1 /src/cmd/compile/internal/ssa/export_test.go
parent5e8beed149c77ee8f0bc4eee6a97faa4cec23027 (diff)
downloadgo-d397d4bffc0fa917fa53970ded4b4d3524f88a5b.tar.gz
go-d397d4bffc0fa917fa53970ded4b4d3524f88a5b.zip
cmd/compile: handle TPTR32 like TPTR64 in smallintconst
In preparation for followup CL merging TPTR32 and TPTR64, move TPTR32 from the small-types fast path to the generic 64-bit fallback code so that it's in the same case clause as TPTR64. This should be safe, but theoretically it could change semantics because TPTR32 used to always be assumed to be "small", whereas now it will only be considered small for values less than 1<<31. This change is done in a separate CL so that it's more easily identified by git bisection in case it does introduce regressions. Change-Id: I6c7bb253d4e4d95c530a6e05a1147905674b55ca Reviewed-on: https://go-review.googlesource.com/c/139517 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/export_test.go')
0 files changed, 0 insertions, 0 deletions