forked from Imagelibrary/binutils-gdb
Turn value_bits_synthetic_pointer into a method
This changes value_bits_synthetic_pointer to be a method of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -576,8 +576,8 @@ coerce_pieced_ref (const value *value)
|
||||
{
|
||||
struct type *type = check_typedef (value->type ());
|
||||
|
||||
if (value_bits_synthetic_pointer (value, value->embedded_offset (),
|
||||
TARGET_CHAR_BIT * type->length ()))
|
||||
if (value->bits_synthetic_pointer (value->embedded_offset (),
|
||||
TARGET_CHAR_BIT * type->length ()))
|
||||
{
|
||||
const piece_closure *closure
|
||||
= (piece_closure *) value->computed_closure ();
|
||||
|
||||
Reference in New Issue
Block a user