aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-02-13 08:48:55 -0800
committerIan Lance Taylor <iant@golang.org>2016-02-13 17:33:22 +0000
commit387d5b8cfb085ed8d2a074586a0ee0e6e6cb9820 (patch)
treee1c25385f1e49f8c20d5eb07af632b4ca121077c
parent76cb265f2829be104c5fe395b81cd4721c9f0fa9 (diff)
downloadgo-387d5b8cfb085ed8d2a074586a0ee0e6e6cb9820.tar.gz
go-387d5b8cfb085ed8d2a074586a0ee0e6e6cb9820.zip
runtime: remove debugging print in cgoCheckTypedBlock
Change-Id: I83639fcde88e7d9747b54728a9481ee2e1b23a64 Reviewed-on: https://go-review.googlesource.com/19486 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--src/runtime/cgocheck.go3
1 files changed, 0 insertions, 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) {