From: Ian Lance Taylor Date: Sat, 13 Feb 2016 16:48:55 +0000 (-0800) Subject: runtime: remove debugging print in cgoCheckTypedBlock X-Git-Tag: go1.6~1^2~11 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=387d5b8cfb085ed8d2a074586a0ee0e6e6cb9820;p=gostls13.git runtime: remove debugging print in cgoCheckTypedBlock Change-Id: I83639fcde88e7d9747b54728a9481ee2e1b23a64 Reviewed-on: https://go-review.googlesource.com/19486 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- diff --git a/src/runtime/cgocheck.go b/src/runtime/cgocheck.go index 0077e22332..aebce1506d 100644 --- a/src/runtime/cgocheck.go +++ b/src/runtime/cgocheck.go @@ -135,9 +135,6 @@ func cgoCheckTypedBlock(typ *_type, src unsafe.Pointer, off, size uintptr) { hbits := heapBitsForAddr(uintptr(src)) for i := uintptr(0); i < off+size; i += sys.PtrSize { bits := hbits.bits() - if bits != 0 { - println(i, bits) - } if i >= off && bits&bitPointer != 0 { v := *(*unsafe.Pointer)(add(src, i)) if cgoIsGoPointer(v) {