aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2023-09-11 14:39:06 -0700
committerKeith Randall <khr@golang.org>2023-10-06 17:01:59 +0000
commit749925701606fae9c71559704a094279bc775512 (patch)
treed4c4e17a2ab44edc8164c987318fb6c3906bfff9 /src/encoding/json/encode_test.go
parent39263f34a307814a74823b280a313829dad374e5 (diff)
downloadgo-749925701606fae9c71559704a094279bc775512.tar.xz
cmd/compile: pass only the itab to the assertI2I-style functions
It is currently slightly better to pass the whole interface to these functions, so that we don't need to spill/restore the data word across the function call. I'm adding a cache in front of these calls, which means we'll no longer need a spill/restore in the common case, so it is better to just pass the itab word. It also makes unifying the logic between I2I and I2I2 versions easier. Change-Id: I3c3e9fbb1e54890482840d76a1df79f4325bb5bc Reviewed-on: https://go-review.googlesource.com/c/go/+/528075 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/encoding/json/encode_test.go')
0 files changed, 0 insertions, 0 deletions