mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/hexagon/idef-parser: Use gen_tmp for LPCFG
The GET_USR_FIELD macro initializes the output, so the initial assignment of zero is discarded. This is the only use of get_tmp_value outside of parser-helper.c, so make it static. Reviewed-by: Taylor Simpson <tsimpson@quicinc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
2c3cee6bd7
commit
93f367bb7f
3 changed files with 2 additions and 8 deletions
|
@ -154,12 +154,6 @@ HexValue gen_tmp(Context *c,
|
|||
unsigned bit_width,
|
||||
HexSignedness signedness);
|
||||
|
||||
HexValue gen_tmp_value(Context *c,
|
||||
YYLTYPE *locp,
|
||||
const char *value,
|
||||
unsigned bit_width,
|
||||
HexSignedness signedness);
|
||||
|
||||
HexValue gen_imm_value(Context *c __attribute__((unused)),
|
||||
YYLTYPE *locp,
|
||||
int value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue