mirror of
https://github.com/golang/go.git
synced 2025-11-10 13:41:05 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue