From 7529701d11ace94cb7c1dee105ad36bd7b4f7058 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 8 Mar 2016 07:05:31 +0000 Subject: [PATCH] cmd/compile: fix comment accuracy after recent change Change-Id: Ifa09bccb8482a6141d0aa862cef674fade30e2eb Reviewed-on: https://go-review.googlesource.com/20355 Reviewed-by: David Crawshaw --- src/cmd/compile/internal/ppc64/prog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/compile/internal/ppc64/prog.go b/src/cmd/compile/internal/ppc64/prog.go index 272707a2a60..6dde051d67c 100644 --- a/src/cmd/compile/internal/ppc64/prog.go +++ b/src/cmd/compile/internal/ppc64/prog.go @@ -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},