mirror of https://github.com/xemu-project/xemu.git
qemu/compiler.h: Assert in unreachable check in debug builds
This commit is contained in:
parent
5f14ee4a68
commit
758e36d398
|
@ -176,7 +176,7 @@
|
|||
*/
|
||||
extern void QEMU_NORETURN QEMU_ERROR("code path is reachable")
|
||||
qemu_build_not_reached_always(void);
|
||||
#if defined(__OPTIMIZE__) && !defined(__NO_INLINE__)
|
||||
#if defined(__OPTIMIZE__) && !defined(__NO_INLINE__) && !defined(XEMU_DEBUG_BUILD)
|
||||
#define qemu_build_not_reached() qemu_build_not_reached_always()
|
||||
#else
|
||||
#define qemu_build_not_reached() g_assert_not_reached()
|
||||
|
|
Loading…
Reference in New Issue