mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +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:
@ -550,7 +550,7 @@ cp_print_static_field (struct type *type,
|
||||
{
|
||||
struct value_print_options opts;
|
||||
|
||||
if (value_entirely_optimized_out (val))
|
||||
if (val->entirely_optimized_out ())
|
||||
{
|
||||
val_print_optimized_out (val, stream);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user