]> git.proxmox.com Git - qemu.git/commit
tcg: fix some op flags
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Oct 2012 19:53:08 +0000 (21:53 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Oct 2012 13:54:22 +0000 (14:54 +0100)
commit344028ba0f63b31c30723d2c1064d3539aa0f070
treedf7a3066a07eb01433a0a8bf97a07afcc8abb164
parent2c0366f036cbb7b2565ba8185a9daee98d709edb
tcg: fix some op flags

Some branch related ops are marked with TCG_OPF_SIDE_EFFECTS, some other
not. In practice they don't need to, as they are all marked with
TCG_OPF_BB_END, which is handled specifically in all the code.

The call op is marked as TCG_OPF_SIDE_EFFECTS, which might be not true
as there is are specific flags (TCG_CALL_CONST and TCG_CALL_PURE) for
specifying that. On the other hand it always clobber arguments, so mark
it as such even if the call op is handled in a different code path.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/tcg-opc.h