Skip to content

Commit e08059f

Browse files
committed
runtime: remove unused alg constants
CL 191198 removed algarray from the runtime which used these constants as indices. Change-Id: Ia669cf410372ef5113dadccd115a39ff8d47e5c8 Reviewed-on: https://go-review.googlesource.com/c/go/+/261364 Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Martin Möhrmann <[email protected]> TryBot-Result: Go Bot <[email protected]> Trust: Emmanuel Odeke <[email protected]> Trust: Martin Möhrmann <[email protected]>
1 parent 6b66b59 commit e08059f

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/runtime/alg.go

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,6 @@ const (
1515
c1 = uintptr((8-sys.PtrSize)/4*3267000013 + (sys.PtrSize-4)/4*23344194077549503)
1616
)
1717

18-
// type algorithms - known to compiler
19-
const (
20-
alg_NOEQ = iota
21-
alg_MEM0
22-
alg_MEM8
23-
alg_MEM16
24-
alg_MEM32
25-
alg_MEM64
26-
alg_MEM128
27-
alg_STRING
28-
alg_INTER
29-
alg_NILINTER
30-
alg_FLOAT32
31-
alg_FLOAT64
32-
alg_CPLX64
33-
alg_CPLX128
34-
alg_max
35-
)
36-
3718
func memhash0(p unsafe.Pointer, h uintptr) uintptr {
3819
return h
3920
}

0 commit comments

Comments
 (0)