]> Git Repo - qemu.git/commitdiff
tcg: fix assertion with --enable-debug
authorJay Foad <[email protected]>
Sat, 20 Feb 2010 10:08:33 +0000 (10:08 +0000)
committerBlue Swirl <[email protected]>
Sat, 20 Feb 2010 10:26:14 +0000 (12:26 +0200)
On 32-bit hosts op_qemu_ld32s is unused. Remove it to fix the
following assertion failure:

qemu-alpha: tcg/tcg.c:1055:
tcg_add_target_add_op_defs: Assertion `tcg_op_defs[op].used' failed.

Signed-off-by: Jay Foad <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
tcg/tcg-opc.h

index 34cdba5b589c6f92b2a6321a1afd6eeee768eaf6..01fea1e50d1fa3ad67595761fad555d64677d685 100644 (file)
@@ -236,11 +236,6 @@ DEF2(qemu_ld32u, 1, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
 DEF2(qemu_ld32u, 1, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
 #endif
 #if TARGET_LONG_BITS == 32
-DEF2(qemu_ld32s, 1, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
-#else
-DEF2(qemu_ld32s, 1, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
-#endif
-#if TARGET_LONG_BITS == 32
 DEF2(qemu_ld64, 2, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
 #else
 DEF2(qemu_ld64, 2, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
This page took 0.026744 seconds and 4 git commands to generate.