Remove "highbound" parameter from value_array

value_array requires the passed-in bounds to match the length of the
array_view it is given.  This patch removes the redundant "highbound"
parameter.

Reviewed-by: John Baldwin <jhb@FreeBSD.org>
Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
Tom Tromey
2023-08-29 09:14:01 -06:00
parent 8b2ac9b216
commit b47331bf90
4 changed files with 12 additions and 19 deletions

View File

@@ -2515,7 +2515,7 @@ array_operation::evaluate (struct type *expect_type,
objects. */
argvec[tem] = in_args[tem]->evaluate_with_coercion (exp, noside);
}
return value_array (tem2, tem3, argvec);
return value_array (tem2, argvec);
}
value *