]> Cypherpunks repositories - gostls13.git/commit
runtime: convert hash functions to Go calling convention.
authorKeith Randall <khr@golang.org>
Thu, 31 Jul 2014 22:07:05 +0000 (15:07 -0700)
committerKeith Randall <khr@golang.org>
Thu, 31 Jul 2014 22:07:05 +0000 (15:07 -0700)
commita2a97684146d63cbde77b5c95b4403da53b79459
treea1cd100c7579213520ac8db4beb48c5868537cf3
parent5a3336096f19c7c813305f548e054b86391874ff
runtime: convert hash functions to Go calling convention.

Create proper closures so hash functions can be called
directly from Go.  Rearrange calling convention so return
value is directly accessible.

LGTM=dvyukov
R=golang-codereviews, dvyukov, dave, khr
CC=golang-codereviews
https://golang.org/cl/119360043
13 files changed:
src/cmd/gc/reflect.c
src/cmd/gc/subr.c
src/pkg/runtime/alg.goc
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/export_test.go
src/pkg/runtime/hashmap.go
src/pkg/runtime/hashmap_fast.go
src/pkg/runtime/iface.goc
src/pkg/runtime/runtime.h
src/pkg/runtime/stubs.go