]> git.proxmox.com Git - mirror_qemu.git/commit - target/cris/translate.c
target-cris/translate.c: Remove _t_gen_mov_TN_env and _t_gen_mov_env_TN
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 7 Jun 2014 17:03:02 +0000 (18:03 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sun, 8 Jun 2014 23:04:44 +0000 (01:04 +0200)
commit37654d9e6af84003982f8b9a5d59a4aef28e0a79
tree6fd4364b4127e8fb064d33bf1c0dd4a0e0b6dfb0
parent08397c4b291b5f1c914a042bd99cda266d886c48
target-cris/translate.c: Remove _t_gen_mov_TN_env and _t_gen_mov_env_TN

The wrapper functions _t_gen_mov_TN_env and _t_gen_mov_env_TN are only
used via their accompanying non-underscore macros. The check they add
on offset is thus pointless, since the compiler will complain if the
struct field passed to the macro is not part of the struct. Remove the
functions and make the macros directly expand to the appropriate
tcg_gen_{ld,st}_tl calls.

This conveniently avoids a warning due to _t_gen_mov_TN_env() being
unused.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-cris/translate.c