syscse: zero_extend() doesn't need a 'cu' arg

Since we don't need the cu to get the strings table, all tags have a
char pointer for strings.

Found while building with clang to prep 1.22.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-08-05 09:42:26 -03:00
parent 21b2933f01
commit 3925a5bd53
1 changed files with 2 additions and 3 deletions

View File

@ -30,8 +30,7 @@ static bool filter(struct function *f)
return true;
}
static void zero_extend(const int regparm, const struct base_type *bt,
struct cu *cu, const char *parm)
static void zero_extend(const int regparm, const struct base_type *bt, const char *parm)
{
const char *instr = "INVALID";
@ -76,7 +75,7 @@ static void emit_wrapper(struct function *f, struct cu *cu)
printf("wrap_%s:\n", name);
needs_wrapper = 1;
}
zero_extend(regparm, bt, cu, parameter__name(parm));
zero_extend(regparm, bt, parameter__name(parm));
}
}
++regparm;