aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 13:29:49 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:21:07 -0700
commitb64e260290108f8eb4f7a75f80a8355448aef7e4 (patch)
tree858622f385f161e426e6087407c80a0978bc3052 /gdb/value.c
parent317c3ed9fc9bc5dacd267d131e8c9ca7c1cbdced (diff)
downloadgdb-b64e260290108f8eb4f7a75f80a8355448aef7e4.zip
gdb-b64e260290108f8eb4f7a75f80a8355448aef7e4.tar.gz
gdb-b64e260290108f8eb4f7a75f80a8355448aef7e4.tar.bz2
Turn allocate_computed_value into static "constructor"
This turns allocate_computed_value into a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 11c9237..7fb12d8 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -995,9 +995,9 @@ allocate_repeat_value (struct type *type, int count)
}
struct value *
-allocate_computed_value (struct type *type,
- const struct lval_funcs *funcs,
- void *closure)
+value::allocate_computed (struct type *type,
+ const struct lval_funcs *funcs,
+ void *closure)
{
struct value *v = value::allocate_lazy (type);