From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NimGK-0004i6-Bi for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:36 -0500 Received: from [199.232.76.173] (port=35814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NimGJ-0004hC-8X for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NimGI-0005G9-Jc for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:35 -0500 Received: from mail-bw0-f218.google.com ([209.85.218.218]:56805) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NimGI-0005G3-AU for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:34 -0500 Received: by bwz10 with SMTP id 10so647462bwz.2 for ; Sat, 20 Feb 2010 02:08:33 -0800 (PST) MIME-Version: 1.0 Date: Sat, 20 Feb 2010 10:08:33 +0000 Message-ID: From: Jay Foad Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] [PATCH v2] tcg: fix assertion with --enable-debug List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- tcg/tcg-opc.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h index 89db3b4..838f1f4 100644 --- a/tcg/tcg-opc.h +++ b/tcg/tcg-opc.h @@ -224,11 +224,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)