1
0
mirror of https://github.com/golang/go synced 2024-11-24 10:20:01 -07:00

cmd/compile: fix comment accuracy after recent change

Change-Id: Ifa09bccb8482a6141d0aa862cef674fade30e2eb
Reviewed-on: https://go-review.googlesource.com/20355
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Brad Fitzpatrick 2016-03-08 07:05:31 +00:00
parent 199cc194ac
commit 7529701d11

View File

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