]> Cypherpunks repositories - gostls13.git/commit
runtime: remove some overuse of uintptr/unsafe.Pointer
authorRuss Cox <rsc@golang.org>
Mon, 25 Aug 2014 00:28:29 +0000 (20:28 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 25 Aug 2014 00:28:29 +0000 (20:28 -0400)
commit6c67dd90f7734f86f0118005930f2520ef08392d
treea9141c90e19979abb33c551a6571b4728d18d1a8
parent7dc25960b470fa34845d2c1257a9113a9133d7a4
runtime: remove some overuse of uintptr/unsafe.Pointer

Now 'go vet runtime' only shows:

        malloc.go:200: possible misuse of unsafe.Pointer
        malloc.go:214: possible misuse of unsafe.Pointer
        malloc.go:250: possible misuse of unsafe.Pointer
        stubs.go:167: possible misuse of unsafe.Pointer

Those are all unavoidable.

LGTM=josharian
R=golang-codereviews, dvyukov, josharian
CC=dave, golang-codereviews
https://golang.org/cl/135730043
src/pkg/runtime/error.go
src/pkg/runtime/string.go
src/pkg/runtime/stubs.go
src/pkg/runtime/symtab.c
src/pkg/runtime/symtab.go