1
0
mirror of https://github.com/golang/go synced 2024-09-29 10:34:36 -06:00

cmd/compile/internal/gc: use plural nouns in comments

This commit is contained in:
hk 2020-10-19 19:57:23 +08:00
parent dd58239dd2
commit fa0d895b3a

View File

@ -61,12 +61,12 @@ type Class uint8
//go:generate stringer -type=Class
const (
Pxxx Class = iota // no class; used during ssa conversion to indicate pseudo-variables
PEXTERN // global variable
PEXTERN // global variables
PAUTO // local variables
PAUTOHEAP // local variable or parameter moved to heap
PAUTOHEAP // local variables or parameters moved to heap
PPARAM // input arguments
PPARAMOUT // output results
PFUNC // global function
PFUNC // global functions
// Careful: Class is stored in three bits in Node.flags.
_ = uint((1 << 3) - iota) // static assert for iota <= (1 << 3)