From 387d5b8cfb085ed8d2a074586a0ee0e6e6cb9820 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 13 Feb 2016 08:48:55 -0800 Subject: [PATCH] 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 --- src/runtime/cgocheck.go | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.50.0