]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove index out of bounds check in walkIndex
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Sat, 6 Aug 2022 18:55:52 +0000 (01:55 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 8 Aug 2022 16:07:17 +0000 (16:07 +0000)
commit98f5152368b4afd31eac1df2b3c172052d9b062a
tree16a674e878c60d3c2cd065e527817ebb7b9a380b
parent487b3501a54e5479972a7982fe1eb154f0447b58
cmd/compile: remove index out of bounds check in walkIndex

Since when any user errors about out-of-bounds constants should have
been already reported by types2.

Change-Id: I81b6bfec53201bbf546c48157fc8154cdb3c6e45
Reviewed-on: https://go-review.googlesource.com/c/go/+/421876
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/walk/expr.go