aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mkduff.go
diff options
context:
space:
mode:
authorEmmanuel Odeke <emm.odeke@gmail.com>2016-09-11 19:05:29 -0700
committerRuss Cox <rsc@golang.org>2016-10-12 14:51:50 +0000
commit898ca6ba0af0ea1180fea1f226ff6ef731018ac2 (patch)
tree7df581eadf6c63c01f5d5ae4764b3dad7b3d55b2 /src/runtime/mkduff.go
parent6d702d8ed2a980cd0c96499379eee5eb218f8339 (diff)
downloadgo-898ca6ba0af0ea1180fea1f226ff6ef731018ac2.tar.gz
go-898ca6ba0af0ea1180fea1f226ff6ef731018ac2.zip
runtime: update mkduff legacy comments
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>
Diffstat (limited to 'src/runtime/mkduff.go')
-rw-r--r--src/runtime/mkduff.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/mkduff.go b/src/runtime/mkduff.go
index 46890791e3..cf6b37f530 100644
--- a/src/runtime/mkduff.go
+++ b/src/runtime/mkduff.go
@@ -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.