summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/type.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/type.go')
-rw-r--r--src/pkg/runtime/type.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/type.go b/src/pkg/runtime/type.go
index 87268db4c..71ad4e7a5 100644
--- a/src/pkg/runtime/type.go
+++ b/src/pkg/runtime/type.go
@@ -9,7 +9,7 @@
* data structures and must be kept in sync with this file:
*
* ../../cmd/gc/reflect.c
- * ../../cmd/ld/dwarf.c
+ * ../../cmd/ld/dwarf.c decodetype_*
* ../reflect/type.go
* type.h
*/
@@ -35,6 +35,7 @@ type commonType struct {
kind uint8 // enumeration for C
string *string // string form; unnecessary but undeniably useful
*uncommonType // (relatively) uncommon fields
+ ptrToThis *Type // pointer to this type, if used in binary or has methods
}
// Values for commonType.kind.