diff options
Diffstat (limited to 'src/runtime/stack.go')
| -rw-r--r-- | src/runtime/stack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go index 10c45045d9..87d8e519bd 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -617,7 +617,7 @@ func adjustpointers(scanp unsafe.Pointer, bv *bitvector, adjinfo *adjustinfo, f } b := *(addb(bv.bytedata, i/8)) for b != 0 { - j := uintptr(sys.Ctz8(b)) + j := uintptr(sys.TrailingZeros8(b)) b &= b - 1 pp := (*uintptr)(add(scanp, (i+j)*goarch.PtrSize)) retry: |
