Commit b4380a3b authored by Keith Randall's avatar Keith Randall

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
parent 2da73418
...@@ -148,10 +148,6 @@ func fastrand1() uint32 ...@@ -148,10 +148,6 @@ func fastrand1() uint32
//go:noescape //go:noescape
func memeq(a, b unsafe.Pointer, size uintptr) bool 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 // noescape hides a pointer from escape analysis. noescape is
// the identity function but escape analysis doesn't think the // the identity function but escape analysis doesn't think the
// output depends on the input. noescape is inlined and currently // output depends on the input. noescape is inlined and currently
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment