mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Introduce assign_modify_operation
This adds class assign_modify_operation, which implements BINOP_ASSIGN_MODIFY. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * expop.h (class assign_modify_operation): New. * eval.c (eval_binop_assign_modify): No longer static. * ax-gdb.c (assign_modify_operation::do_generate_ax): New method.
This commit is contained in:
@@ -2074,7 +2074,7 @@ eval_op_type (struct type *expect_type, struct expression *exp,
|
||||
|
||||
/* A helper function for BINOP_ASSIGN_MODIFY. */
|
||||
|
||||
static struct value *
|
||||
struct value *
|
||||
eval_binop_assign_modify (struct type *expect_type, struct expression *exp,
|
||||
enum noside noside, enum exp_opcode op,
|
||||
struct value *arg1, struct value *arg2)
|
||||
|
||||
Reference in New Issue
Block a user