runtime: unify fastrand1 and fastrand2
C and Go calling conventions are now compatible, so we
don't need two versions of this function.
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/139080043
diff --git a/src/pkg/runtime/hashmap.go b/src/pkg/runtime/hashmap.go
index 309e26d..1bdceab 100644
--- a/src/pkg/runtime/hashmap.go
+++ b/src/pkg/runtime/hashmap.go
@@ -219,7 +219,7 @@
h.count = 0
h.B = B
h.flags = 0
- h.hash0 = fastrand2()
+ h.hash0 = fastrand1()
h.buckets = buckets
h.oldbuckets = nil
h.nevacuate = 0
@@ -568,7 +568,7 @@
// iterator state
it.bucket = 0
- it.offset = uint8(fastrand2() & (bucketCnt - 1))
+ it.offset = uint8(fastrand1() & (bucketCnt - 1))
it.done = false
it.bptr = nil