]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: update mkduff legacy comments
authorEmmanuel Odeke <emm.odeke@gmail.com>
Mon, 12 Sep 2016 02:05:29 +0000 (19:05 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 12 Oct 2016 14:51:50 +0000 (14:51 +0000)
Update comments for duffzero and duffcopy
which referred to legacy locations:
+ cmd/?g/cgen.go
+ cmd/?g/ggen.go

Remnants of the old days when we had 5g, 6g etc.

Those locations have since moved to:
+ cmd/compile/internal/<arch>/cgen.go
+ cmd/compile/internal/<arch>/ggen.go

Change-Id: Ie2ea668559d52d42b747260ea69a6d5b3d70e859
Reviewed-on: https://go-review.googlesource.com/29073
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/mkduff.go

index 46890791e38058f314d68850fcb128d7b2cd9dc3..cf6b37f530614d9c97fe82273df6b4cefcbea6c7 100644 (file)
@@ -8,14 +8,14 @@
 // The compiler jumps to computed addresses within
 // the routine to zero chunks of memory.
 // Do not change duffzero without also
-// changing clearfat in cmd/?g/ggen.go.
+// changing the uses in cmd/compile/internal/*/*.go.
 
 // runtime·duffcopy is a Duff's device for copying memory.
 // The compiler jumps to computed addresses within
 // the routine to copy chunks of memory.
 // Source and destination must not overlap.
 // Do not change duffcopy without also
-// changing blockcopy in cmd/?g/cgen.go.
+// changing the uses in cmd/compile/internal/*/*.go.
 
 // See the zero* and copy* generators below
 // for architecture-specific comments.