aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/type.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-12-27 20:32:11 -0800
committerKeith Randall <khr@golang.org>2014-12-28 18:42:39 +0000
commitb1f29b2d443f5c8df15d6702937ae786660375be (patch)
tree08cf747849f665bc1958ca8473100defb1f2afff /src/runtime/type.go
parent2c987e16937a6abf907ab230b04d42c071a388f5 (diff)
downloadgo-b1f29b2d443f5c8df15d6702937ae786660375be.tar.xz
runtime: get rid of goalg, no longer needed
The goalg function was a holdover from when we had algorithm tables in both C and Go. It is no longer needed. Change-Id: Ia0c1af35bef3497a899f22084a1a7b42daae72a0 Reviewed-on: https://go-review.googlesource.com/2099 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/type.go')
-rw-r--r--src/runtime/type.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/type.go b/src/runtime/type.go
index cbf2b1b6af..943d7bfd0e 100644
--- a/src/runtime/type.go
+++ b/src/runtime/type.go
@@ -16,7 +16,7 @@ type _type struct {
align uint8
fieldalign uint8
kind uint8
- alg unsafe.Pointer
+ alg *typeAlg
// gc stores _type info required for garbage collector.
// If (kind&KindGCProg)==0, then gc[0] points at sparse GC bitmap
// (no indirection), 4 bits per word.