]> git.proxmox.com Git - qemu.git/commit
tcg: Add consistency checks for op definitions
authorStefan Weil <weil@mail.berlios.de>
Mon, 15 Feb 2010 16:17:21 +0000 (17:17 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 18 Feb 2010 19:08:14 +0000 (19:08 +0000)
commitc68aaa18921b88ba98a9c62cfe45d59f56de7808
tree8a5d8a3a1de6e7056cf12d847380ae2bb50df3a9
parentdbfe80e1eaf8790f6b3bc42c3a7d146ac8794ed2
tcg: Add consistency checks for op definitions

When compiled with CONFIG_DEBUG_TCG, this code looks
for missing, duplicate and wrong entries in the
op definitions.

Errors will raise an assertion at program start
(all checks are done in the initial phase).

The current code contains such errors, at least for
i386 guest on i386 host.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/tcg.c
tcg/tcg.h