forked from Imagelibrary/binutils-gdb
Turn value_type into method
This changes value_type to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -3697,7 +3697,7 @@ ia64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||
for (argno = 0; argno < nargs; argno++)
|
||||
{
|
||||
arg = args[argno];
|
||||
type = check_typedef (value_type (arg));
|
||||
type = check_typedef (arg->type ());
|
||||
len = type->length ();
|
||||
|
||||
if ((nslots & 1) && slot_alignment_is_next_even (type))
|
||||
@@ -3740,7 +3740,7 @@ ia64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||
struct type *float_elt_type;
|
||||
|
||||
arg = args[argno];
|
||||
type = check_typedef (value_type (arg));
|
||||
type = check_typedef (arg->type ());
|
||||
len = type->length ();
|
||||
|
||||
/* Special handling for function parameters. */
|
||||
|
||||
Reference in New Issue
Block a user