]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove isLiteral
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 27 Oct 2020 10:08:57 +0000 (17:08 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 27 Oct 2020 18:23:46 +0000 (18:23 +0000)
commite3bb53a7683eb9c3d04c09f28abb4cf9aa89a7c1
treeab10e21b6bb40cc64663563f4b7ce80c1034bbc1
parent3f6b1a0d5eea4756b905db1c2b2c03e8594850d3
cmd/compile: remove isLiteral

It has duplicated logic with "n.isGoConst".

Passes toolstash-check.

Change-Id: I5bf871ef81c7188ca09dae29c7ff55b3a254d972
Reviewed-on: https://go-review.googlesource.com/c/go/+/265437
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/sinit.go