mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
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:
@@ -319,7 +319,7 @@ alpha_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||
for (i = 0, m_arg = alpha_args; i < nargs; i++, m_arg++)
|
||||
{
|
||||
struct value *arg = args[i];
|
||||
struct type *arg_type = check_typedef (value_type (arg));
|
||||
struct type *arg_type = check_typedef (arg->type ());
|
||||
|
||||
/* Cast argument to long if necessary as the compiler does it too. */
|
||||
switch (arg_type->code ())
|
||||
|
||||
Reference in New Issue
Block a user