Change value::parent to a value_ref_ptr
authorTom Tromey <tom@tromey.com>
Wed, 4 Apr 2018 22:08:42 +0000 (16:08 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 6 Apr 2018 21:44:50 +0000 (15:44 -0600)
commit2c8331b987f41fa53ed371d0bbeaa3cea50bd514
tree353e1d7956e8df37fcf4c0623140fcaeda0f2351
parent466ce3aea9cec006b8b0e348c9021ac2c8106022
Change value::parent to a value_ref_ptr

This changes value::parent to a value_ref_ptr.  This removes a bit of
manual reference count management.

gdb/ChangeLog
2018-04-06  Tom Tromey  <tom@tromey.com>

* value.c (~value): Update.
(struct value) <parent>: Now a value_ref_ptr.
(value_parent, set_value_parent, value_address, value_copy):
Update.
gdb/ChangeLog
gdb/value.c
This page took 0.023968 seconds and 4 git commands to generate.