]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ir: remove un-used code for const
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 28 Mar 2022 14:41:19 +0000 (21:41 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 28 Mar 2022 16:29:15 +0000 (16:29 +0000)
commitb10164b29278016cfbc5f42c0f8620cd467993d5
tree28f53c6991b0698e7c4fb4f2996631b66f7d3ac7
parent5fcc6554d955c31e7a313ff7e1b3bc13de9d63a1
cmd/compile/internal/ir: remove un-used code for const

CL 390474 removed last usages of ConstValue, it can now be removed, and
also Float64Val, since when it's only used by ConstValue.

CanInt64 is un-used for a long time, its original form last usage was
removed in CL 221802.

Change-Id: Id142b0da49c319faca73ef1b2090325f81431321
Reviewed-on: https://go-review.googlesource.com/c/go/+/396078
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/ir/val.go