mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 07:13:38 +08:00
eabb7b91b3
The TCG code is quite performance sensitive, but at the same time can
also be quite tricky. That is why asserts that can be enabled with the
--enable-debug-tcg configure option.
This used to work the following way:
| #include "config.h"
|
| ...
|
| #if !defined(CONFIG_DEBUG_TCG) && !defined(NDEBUG)
| /* define it to suppress various consistency checks (faster) */
| #define NDEBUG
| #endif
|
| ...
|
| #include <assert.h>
Since commit
|
||
---|---|---|
.. | ||
tcg-target.h | ||
tcg-target.inc.c |