From: Keith Randall Date: Mon, 29 Sep 2014 21:05:33 +0000 (-0700) Subject: runtime: delete unused variables. X-Git-Tag: go1.4beta1~250 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b4380a3ba2da2515225ab45ff07082d67399757a;p=gostls13.git 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://golang.org/cl/151040044 --- diff --git a/src/runtime/stubs.go b/src/runtime/stubs.go index 1381c7efdb..c6a9cf9f54 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