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:
parent
21b2933f01
commit
3925a5bd53
5
syscse.c
5
syscse.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue