summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-09-29 14:05:33 -0700
committerKeith Randall <khr@golang.org>2014-09-29 14:05:33 -0700
commit8fdf2856a2c24af87babc43e5205d56c0be9ce1b (patch)
tree9d97b0cc5e7ba4d1d6a518e34eb8cb60c8e943c5 /src
parent9c8489424d379932d6f8acd1eec605cf2d484e13 (diff)
downloadgo-8fdf2856a2c24af87babc43e5205d56c0be9ce1b.tar.gz
runtime: delete unused variables.
We're not comparing with code addresses any more. Instead, we use nil algorithm functions to mark uncomparable types. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/151040044
Diffstat (limited to 'src')
-rw-r--r--src/runtime/stubs.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/stubs.go b/src/runtime/stubs.go
index 1381c7efd..c6a9cf9f5 100644
--- a/src/runtime/stubs.go
+++ b/src/runtime/stubs.go
@@ -148,10 +148,6 @@ func fastrand1() uint32
//go:noescape
func memeq(a, b unsafe.Pointer, size uintptr) bool
-// Code pointers for the nohash/noequal algorithms. Used for producing better error messages.
-var nohashcode uintptr
-var noequalcode uintptr
-
// noescape hides a pointer from escape analysis. noescape is
// the identity function but escape analysis doesn't think the
// output depends on the input. noescape is inlined and currently