forked from Imagelibrary/binutils-gdb
Turn value_enclosing_type into method
This changes value_enclosing_type to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -372,7 +372,7 @@ gnuv3_rtti_type (struct value *value,
|
||||
|
||||
if (full_p)
|
||||
*full_p = (- offset_to_top == value_embedded_offset (value)
|
||||
&& (value_enclosing_type (value)->length ()
|
||||
&& (value->enclosing_type ()->length ()
|
||||
>= run_time_type->length ()));
|
||||
if (top_p)
|
||||
*top_p = - offset_to_top;
|
||||
|
||||
Reference in New Issue
Block a user