diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 20:59:39 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:22:17 -0700 |
commit | 6bd5c75435099f09bf1b2027e118f66a6fd94218 (patch) | |
tree | 077e8f26538eb2bb12dc4d7bdb551ee1ecfcbfb2 /gdb/valops.c | |
parent | fcf86fe5977ec47a0a6e32be9c1434ac808e2c4e (diff) | |
download | binutils-6bd5c75435099f09bf1b2027e118f66a6fd94218.zip binutils-6bd5c75435099f09bf1b2027e118f66a6fd94218.tar.gz binutils-6bd5c75435099f09bf1b2027e118f66a6fd94218.tar.bz2 |
Turn some xmethod functions into methods
This turns value_from_xmethod, result_type_of_xmethod, and
call_xmethod to be methods of value. value_from_xmethod is a static
"constructor" now.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 137134a..89bd5c9 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -3028,7 +3028,7 @@ find_overload_match (gdb::array_view<value *> args, method_oload_champ, basetype, boffset); } else - *valp = value_from_xmethod + *valp = value::from_xmethod (std::move (xmethods[ext_method_oload_champ])); } else |