mirror of
https://github.com/golang/go
synced 2024-10-14 03:43:28 +00:00
cmd/compile/internal/gc: use plural nouns in comments
Change-Id: I99a5b5b88495cfaef16d41ee4b962c5d0b3488aa
GitHub-Last-Rev: fa0d895b3a
GitHub-Pull-Request: golang/go#42059
Reviewed-on: https://go-review.googlesource.com/c/go/+/263617
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Keith Randall <khr@golang.org>
Trust: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
c216ae80c9
commit
70cad2744b
|
@ -61,12 +61,12 @@ type Class uint8
|
||||||
//go:generate stringer -type=Class
|
//go:generate stringer -type=Class
|
||||||
const (
|
const (
|
||||||
Pxxx Class = iota // no class; used during ssa conversion to indicate pseudo-variables
|
Pxxx Class = iota // no class; used during ssa conversion to indicate pseudo-variables
|
||||||
PEXTERN // global variable
|
PEXTERN // global variables
|
||||||
PAUTO // local variables
|
PAUTO // local variables
|
||||||
PAUTOHEAP // local variable or parameter moved to heap
|
PAUTOHEAP // local variables or parameters moved to heap
|
||||||
PPARAM // input arguments
|
PPARAM // input arguments
|
||||||
PPARAMOUT // output results
|
PPARAMOUT // output results
|
||||||
PFUNC // global function
|
PFUNC // global functions
|
||||||
|
|
||||||
// Careful: Class is stored in three bits in Node.flags.
|
// Careful: Class is stored in three bits in Node.flags.
|
||||||
_ = uint((1 << 3) - iota) // static assert for iota <= (1 << 3)
|
_ = uint((1 << 3) - iota) // static assert for iota <= (1 << 3)
|
||||||
|
|
Loading…
Reference in a new issue