2002-01-04 Daniel Jacobowitz <drow@mvista.com>

* valops.c (find_overload_match): Accept obj as a
        reference parameter.  Update it before returning.
        * value.h (find_overload_match): Update prototype.
        * eval.c (evaluate_subexp_standard): Pass object to
        find_overload_match by reference.
This commit is contained in:
Daniel Jacobowitz
2002-01-04 17:51:38 +00:00
parent a3aa38ee6c
commit 7f8c928258
4 changed files with 21 additions and 3 deletions

View File

@@ -388,7 +388,7 @@ extern struct fn_field *value_find_oload_method_list (struct value **, char *,
extern int find_overload_match (struct type **arg_types, int nargs,
char *name, int method, int lax,
struct value *obj, struct symbol *fsym,
struct value **objp, struct symbol *fsym,
struct value **valp, struct symbol **symp,
int *staticp);