]> Cypherpunks repositories - gostls13.git/commit
runtime: convert type algorithms to Go
authorDmitriy Vyukov <dvyukov@google.com>
Sat, 30 Aug 2014 04:40:56 +0000 (08:40 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Sat, 30 Aug 2014 04:40:56 +0000 (08:40 +0400)
commitd4df63c3e8f37aa6ea033bae8937673460915279
tree33dd50564846828c1828019fd9c6930c92679ebf
parent1a976f1576f2220ca78cb7094b2fea3e88a8b4ad
runtime: convert type algorithms to Go
Actually it mostly deletes code -- alg.print and alg.copy go away.
There was only one usage of alg.print for debug purposes.
Alg.copy is used in chan.goc, but Keith replaces them with
memcopy during conversion, so alg.copy is not needed as well.
Converting them would be significant amount of work
for no visible benefit.

LGTM=crawshaw, rsc, khr
R=golang-codereviews, crawshaw, khr
CC=golang-codereviews, rsc
https://golang.org/cl/139930044
12 files changed:
src/cmd/gc/reflect.c
src/pkg/runtime/alg.go
src/pkg/runtime/alg.goc [deleted file]
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_amd64p32.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/chan.goc
src/pkg/runtime/hashmap.go
src/pkg/runtime/runtime.h
src/pkg/runtime/stubs.go
src/pkg/runtime/type.h