mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile/internal/gc: update old c-style comments
Update old c-style comments to look like Go comments. Also replace some lingering references to old .c files that don't exist anymore. Change-Id: I72b2407a40fc76c23e9048643e0622fd70b4cf90 Reviewed-on: https://go-review.googlesource.com/16190 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
6410e67a1e
commit
6327e8dc69
26 changed files with 527 additions and 852 deletions
|
|
@ -56,7 +56,7 @@ func (b *bulkBvec) next() Bvec {
|
|||
return out
|
||||
}
|
||||
|
||||
/* difference */
|
||||
// difference
|
||||
func bvandnot(dst Bvec, src1 Bvec, src2 Bvec) {
|
||||
for i, x := range src1.b {
|
||||
dst.b[i] = x &^ src2.b[i]
|
||||
|
|
@ -151,14 +151,14 @@ func bvnot(bv Bvec) {
|
|||
}
|
||||
}
|
||||
|
||||
/* union */
|
||||
// union
|
||||
func bvor(dst Bvec, src1 Bvec, src2 Bvec) {
|
||||
for i, x := range src1.b {
|
||||
dst.b[i] = x | src2.b[i]
|
||||
}
|
||||
}
|
||||
|
||||
/* intersection */
|
||||
// intersection
|
||||
func bvand(dst Bvec, src1 Bvec, src2 Bvec) {
|
||||
for i, x := range src1.b {
|
||||
dst.b[i] = x & src2.b[i]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue