aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/decode_test.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-05-27 11:37:00 -0400
committerCherry Zhang <cherryyz@google.com>2020-05-28 14:43:19 +0000
commit6bf2eea62a3425c57f3d908ec32047a9ae41c025 (patch)
tree0960662b542aaf584e2757e31e9b9bb691b672dd /src/encoding/json/decode_test.go
parent0d20a492823211cd816ded24c98cfcd58b198faa (diff)
downloadgo-6bf2eea62a3425c57f3d908ec32047a9ae41c025.tar.xz
cmd/compile: always use StackMapDontCare as register map index when reg map is not used
When go115ReduceLiveness is true (so we don't emit actual register maps), use StackMapDontCare consistently for the register map index, so RegMapValid is always false. This fixes a compiler crash when doing -live=2 debug print. Fixes #39251. Change-Id: Ice087af491fa69c413f8ee59f923b72d592c0643 Reviewed-on: https://go-review.googlesource.com/c/go/+/235418 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/encoding/json/decode_test.go')
0 files changed, 0 insertions, 0 deletions