summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-05-30 07:56:05 -0700
committerIan Lance Taylor <iant@golang.org>2014-05-30 07:56:05 -0700
commita2083770feee7095f67eda0fd5081e5a3e112f7c (patch)
tree75734f759597c5ae5ce642c074573a33aa0eb6a5 /src
parentc3a33fa71bb22fc6e1948c97e6ae877adb9c0e29 (diff)
downloadgo-a2083770feee7095f67eda0fd5081e5a3e112f7c.tar.gz
runtime: add zero field to rtype
The rtype struct is meant to be a copy of reflect.rtype. The zero field was added to reflect.rtype in 18495:6e50725ac753. LGTM=rsc R=khr, rsc CC=golang-codereviews https://codereview.appspot.com/93660045
Diffstat (limited to 'src')
-rw-r--r--src/pkg/runtime/type.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/type.go b/src/pkg/runtime/type.go
index 374754afa..276dbc0c9 100644
--- a/src/pkg/runtime/type.go
+++ b/src/pkg/runtime/type.go
@@ -26,6 +26,7 @@ type rtype struct {
string *string
*uncommonType
ptrToThis *rtype
+ zero unsafe.Pointer
}
type _method struct {