]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor walkIndexMap
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 24 May 2021 05:15:17 +0000 (12:15 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 24 Mar 2022 03:04:13 +0000 (03:04 +0000)
commit209521c3e34820887c9d221f8f09d8f586c72419
tree59b7da4ab9c60a41f970399aebfd228304289874
parent60be4ec096a180d74208230207e839bd2c8a030a
cmd/compile: refactor walkIndexMap

So all runtime map functions will use the same code path, make it easier
for future CL to handle stack object for map key.

Passes toolstash -cmp.

For #43753

Change-Id: I374fa4e351c1eba079e2ccb637b1ef5adad1488f
Reviewed-on: https://go-review.googlesource.com/c/go/+/321713
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/walk/assign.go
src/cmd/compile/internal/walk/builtin.go
src/cmd/compile/internal/walk/expr.go