forked from Imagelibrary/binutils-gdb
Turn allocate_computed_value into static "constructor"
This turns allocate_computed_value into a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -1359,7 +1359,7 @@ value_of_dwarf_reg_entry (struct type *type, frame_info_ptr frame,
|
||||
caller_per_cu,
|
||||
caller_per_objfile);
|
||||
|
||||
val = allocate_computed_value (type, &entry_data_value_funcs,
|
||||
val = value::allocate_computed (type, &entry_data_value_funcs,
|
||||
release_value (target_val).release ());
|
||||
|
||||
/* Copy the referencing pointer to the new computed value. */
|
||||
|
||||
Reference in New Issue
Block a user