forked from Imagelibrary/binutils-gdb
Turn many optimized-out value functions into methods
This turns many functions that are related to optimized-out or availability-checking to be methods of value. The static function value_entirely_covered_by_range_vector is also converted to be a private method. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -1280,8 +1280,8 @@ should_validate_memtags (struct value *value)
|
||||
|
||||
/* OK, we have an address value. Check we have a complete value we
|
||||
can extract. */
|
||||
if (value_optimized_out (value)
|
||||
|| !value_entirely_available (value))
|
||||
if (value->optimized_out ()
|
||||
|| !value->entirely_available ())
|
||||
return false;
|
||||
|
||||
/* We do. Check whether it includes any tags. */
|
||||
|
||||
Reference in New Issue
Block a user