From b4380a3ba2da2515225ab45ff07082d67399757a Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Mon, 29 Sep 2014 14:05:33 -0700 Subject: [PATCH] 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 --- src/runtime/stubs.go | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.50.0