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)
commitee113e50bb277841a5116490fe9e0965b0525b9b
tree79ff5484f3fe9995d2e28c9e0931fe855b099a6c
parentd991b3956ee12bc692983da0ca0200f9fcd671fc
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