+2017-11-16 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_value_cast): Remove parameter "noside".
+ Update all callers.
+
2017-11-16 Pedro Alves <palves@redhat.com>
* python/py-unwind.c (pyuw_sniffer): Translate
is different. */
static struct value *
-ada_value_cast (struct type *type, struct value *arg2, enum noside noside)
+ada_value_cast (struct type *type, struct value *arg2)
{
if (type == ada_check_typedef (value_type (arg2)))
return arg2;
Similarly, we need to perform the conversion from OP_LONG
ourselves. */
if ((op == OP_FLOAT || op == OP_LONG) && expect_type != NULL)
- arg1 = ada_value_cast (expect_type, arg1, noside);
+ arg1 = ada_value_cast (expect_type, arg1);
return arg1;
arg1 = evaluate_subexp (type, exp, pos, noside);
if (noside == EVAL_SKIP)
goto nosideret;
- arg1 = ada_value_cast (type, arg1, noside);
+ arg1 = ada_value_cast (type, arg1);
return arg1;
case UNOP_QUAL: