mirror of
https://github.com/golang/go
synced 2024-11-17 10:04:43 -07:00
cmd/compile/internal/gc: use plural nouns in comments
This commit is contained in:
parent
dd58239dd2
commit
fa0d895b3a
@ -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 New Issue
Block a user