mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Turn value_fetch_lazy into a method
This changes value_fetch_lazy to be a method of value. A few helper functions are converted as well, to avoid problems in later patches when the data members are all made private. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -352,7 +352,7 @@ rust_val_print_slice (struct value *val, struct ui_file *stream, int recurse,
|
||||
struct value *array = value::allocate_lazy (array_type);
|
||||
VALUE_LVAL (array) = lval_memory;
|
||||
array->set_address (value_as_address (base));
|
||||
value_fetch_lazy (array);
|
||||
array->fetch_lazy ();
|
||||
generic_value_print (array, stream, recurse, options,
|
||||
&rust_decorations);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user