]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix comment accuracy after recent change
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 8 Mar 2016 07:05:31 +0000 (07:05 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 8 Mar 2016 15:30:26 +0000 (15:30 +0000)
Change-Id: Ifa09bccb8482a6141d0aa862cef674fade30e2eb
Reviewed-on: https://go-review.googlesource.com/20355
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/compile/internal/ppc64/prog.go

index 272707a2a60d0c3fc19f7f69e36dcbe412f2e263..6dde051d67c200ecf88dd893dc19236ce6be9b81 100644 (file)
@@ -170,8 +170,8 @@ func proginfo(p *obj.Prog) {
 }
 
 // Instruction variants table. Initially this contains entries only
-// for the "base" form of each instruction. On the first call to
-// as2variant or variant2as, we'll add the variants to the table.
+// for the "base" form of each instruction.
+// This table is completed by calling initvariants in Main.
 var varianttable = [ppc64.ALAST][4]obj.As{
        ppc64.AADD:     {ppc64.AADD, ppc64.AADDCC, ppc64.AADDV, ppc64.AADDVCC},
        ppc64.AADDC:    {ppc64.AADDC, ppc64.AADDCCC, ppc64.AADDCV, ppc64.AADDCVCC},