We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e41d241 commit 8cf6740Copy full SHA for 8cf6740
src/runtime/gc_list_generic.go
@@ -8,7 +8,7 @@ import "unsafe"
8
func markMem(start, end uintptr) {
9
start = align(start)
10
end &^= unsafe.Alignof(unsafe.Pointer(nil)) - 1
11
- for ; start < end; start += unsafe.Alignof(unsafe.Pointer(nil)) - 1 {
+ for ; start < end; start += unsafe.Alignof(unsafe.Pointer(nil)) {
12
markAddr(*(*uintptr)(unsafe.Pointer(start)))
13
}
14
0 commit comments