aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/export_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-07-31 15:07:05 -0700
committerKeith Randall <khr@golang.org>2014-07-31 15:07:05 -0700
commita2a97684146d63cbde77b5c95b4403da53b79459 (patch)
treea1cd100c7579213520ac8db4beb48c5868537cf3 /src/pkg/runtime/export_test.go
parent5a3336096f19c7c813305f548e054b86391874ff (diff)
downloadgo-a2a97684146d63cbde77b5c95b4403da53b79459.tar.xz
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
Diffstat (limited to 'src/pkg/runtime/export_test.go')
-rw-r--r--src/pkg/runtime/export_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pkg/runtime/export_test.go b/src/pkg/runtime/export_test.go
index 385ea19eac..01b47e17af 100644
--- a/src/pkg/runtime/export_test.go
+++ b/src/pkg/runtime/export_test.go
@@ -71,12 +71,6 @@ func testSchedLocalQueueSteal()
var TestSchedLocalQueue1 = testSchedLocalQueue
var TestSchedLocalQueueSteal1 = testSchedLocalQueueSteal
-func haveGoodHash() bool
-func stringHash(s string, seed uintptr) uintptr
-func bytesHash(b []byte, seed uintptr) uintptr
-func int32Hash(i uint32, seed uintptr) uintptr
-func int64Hash(i uint64, seed uintptr) uintptr
-
var HaveGoodHash = haveGoodHash
var StringHash = stringHash
var BytesHash = bytesHash