aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/noder
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2022-08-11 12:29:47 -0700
committerMatthew Dempsky <mdempsky@google.com>2022-08-11 20:13:07 +0000
commit87431981522981bc69b1eccc392e101df3318c2e (patch)
tree86f451b8fbe64787c643250e668d2725db762890 /src/cmd/compile/internal/noder
parent141f15303d528620a8855fd73d19fe51dd2479f0 (diff)
downloadgo-87431981522981bc69b1eccc392e101df3318c2e.tar.xz
test: make issue54343.go robust against the tiny allocator
I structured the test for issue54343.go after issue46725.go, where I was careful to use `[4]int`, which is a type large enough to avoid the tiny object allocator (which interferes with finalizer semantics). But in that test, I didn't note the importance of that type, so I mistakenly used just `int` in issue54343.go. This CL switches issue54343.go to use `[4]int` too, and then adds comments to both pointing out the significance of this type. Updates #54343. Change-Id: I699b3e64b844ff6d8438bbcb4d1935615a6d8cc4 Reviewed-on: https://go-review.googlesource.com/c/go/+/423115 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/compile/internal/noder')
0 files changed, 0 insertions, 0 deletions