mirror of
https://github.com/golang/go
synced 2024-11-17 16:14:42 -07:00
[dev.regabi] cmd/compile: use byte for CallExpr.Use
Reduce 16 byte for CallExpr, from 184 to 168 on 64-bit archs. Passes toolstash -cmp. Change-Id: I59c7609ccd03e8b4a7df8d2c30de8022ae312cee Reviewed-on: https://go-review.googlesource.com/c/go/+/283732 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
5a5ab24689
commit
4476300425
@ -145,7 +145,7 @@ func (n *BinaryExpr) SetOp(op Op) {
|
||||
}
|
||||
|
||||
// A CallUse records how the result of the call is used:
|
||||
type CallUse int
|
||||
type CallUse byte
|
||||
|
||||
const (
|
||||
_ CallUse = iota
|
||||
|
Loading…
Reference in New Issue
Block a user