mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
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:
@ -555,7 +555,7 @@ coerce_unspec_val_to_type (struct value *val, struct type *type)
|
||||
{
|
||||
struct value *result;
|
||||
|
||||
if (value_optimized_out (val))
|
||||
if (val->optimized_out ())
|
||||
result = value::allocate_optimized_out (type);
|
||||
else if (val->lazy ()
|
||||
/* Be careful not to make a lazy not_lval value. */
|
||||
|
Reference in New Issue
Block a user