From 70cad2744b57691962645681722ce756e81791c1 Mon Sep 17 00:00:00 2001 From: hk Date: Mon, 19 Oct 2020 12:11:13 +0000 Subject: [PATCH] cmd/compile/internal/gc: use plural nouns in comments Change-Id: I99a5b5b88495cfaef16d41ee4b962c5d0b3488aa GitHub-Last-Rev: fa0d895b3a87e45f499f02651a5f0e4946124765 GitHub-Pull-Request: golang/go#42059 Reviewed-on: https://go-review.googlesource.com/c/go/+/263617 Reviewed-by: Keith Randall Trust: Keith Randall Trust: Robert Griesemer --- src/cmd/compile/internal/gc/go.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd/compile/internal/gc/go.go b/src/cmd/compile/internal/gc/go.go index 2fbdf71055..ee2add3733 100644 --- a/src/cmd/compile/internal/gc/go.go +++ b/src/cmd/compile/internal/gc/go.go @@ -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)