]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/tcg-opc.h
tcg: Always define all of the TCGOpcode enum members.
authorRichard Henderson <rth@twiddle.net>
Wed, 17 Aug 2011 21:11:46 +0000 (14:11 -0700)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 21 Aug 2011 18:52:24 +0000 (18:52 +0000)
commit25c4d9cc845fb58f624dae8c0f690e20c70e7a1d
tree79ff5484f3fe9995d2e28c9e0931fe855b099a6c
parent8399ad59e73a0f48af3edef62f021e2cb6220e12
tcg: Always define all of the TCGOpcode enum members.

By always defining these symbols, we can eliminate a lot of ifdefs.

To allow this to be checked reliably, the semantics of the
TCG_TARGET_HAS_* macros must be changed from def/undef to true/false.
This allows even more ifdefs to be removed, converting them into
C if statements.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
14 files changed:
tcg/arm/tcg-target.h
tcg/hppa/tcg-target.h
tcg/i386/tcg-target.h
tcg/ia64/tcg-target.h
tcg/mips/tcg-target.h
tcg/optimize.c
tcg/ppc/tcg-target.h
tcg/ppc64/tcg-target.h
tcg/s390/tcg-target.h
tcg/sparc/tcg-target.h
tcg/tcg-op.h
tcg/tcg-opc.h
tcg/tcg.c
tcg/tcg.h