forked from Imagelibrary/binutils-gdb
Turn allocate_optimized_out_value into static "constructor"
This turns allocate_optimized_out_value into a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -267,7 +267,7 @@ frame_unwind_got_optimized (frame_info_ptr frame, int regnum)
|
||||
struct gdbarch *gdbarch = frame_unwind_arch (frame);
|
||||
struct type *type = register_type (gdbarch, regnum);
|
||||
|
||||
return allocate_optimized_out_value (type);
|
||||
return value::allocate_optimized_out (type);
|
||||
}
|
||||
|
||||
/* Return a value which indicates that FRAME copied REGNUM into
|
||||
|
||||
Reference in New Issue
Block a user