summaryrefslogtreecommitdiffstats
path: root/libgo/runtime/go-type.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/go-type.h')
-rw-r--r--libgo/runtime/go-type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgo/runtime/go-type.h b/libgo/runtime/go-type.h
index b1f32850a00..76681217fdf 100644
--- a/libgo/runtime/go-type.h
+++ b/libgo/runtime/go-type.h
@@ -94,6 +94,10 @@ struct __go_type_descriptor
/* A pointer to fields which are only used for some types. */
const struct __go_uncommon_type *__uncommon;
+
+ /* The descriptor for the type which is a pointer to this type.
+ This may be NULL. */
+ const struct __go_type_descriptor *__pointer_to_this;
};
/* The information we store for each method of a type. */
OpenPOWER on IntegriCloud