From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoEvV-000619-6o for qemu-devel@nongnu.org; Thu, 07 Apr 2016 14:45:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoEuy-0008OR-E3 for qemu-devel@nongnu.org; Thu, 07 Apr 2016 14:44:37 -0400 Received: from lists.gnu.org ([2001:4830:134:3::11]:50132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoEuy-0008OD-Ax for qemu-devel@nongnu.org; Thu, 07 Apr 2016 14:44:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoET0-0006wP-Bo for qemu-devel@nongnu.org; Thu, 07 Apr 2016 14:15:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoESv-0001AB-VO for qemu-devel@nongnu.org; Thu, 07 Apr 2016 14:15:42 -0400 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:33518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoESv-0001A1-MV for qemu-devel@nongnu.org; Thu, 07 Apr 2016 14:15:37 -0400 Received: by mail-qk0-x244.google.com with SMTP id d3so4025402qke.0 for ; Thu, 07 Apr 2016 11:15:37 -0700 (PDT) Sender: Richard Henderson References: <1460044433-19282-1-git-send-email-sergey.fedorov@linaro.org> <1460044433-19282-2-git-send-email-sergey.fedorov@linaro.org> From: Richard Henderson Message-ID: <5706A3C6.7030707@twiddle.net> Date: Thu, 7 Apr 2016 11:15:34 -0700 MIME-Version: 1.0 In-Reply-To: <1460044433-19282-2-git-send-email-sergey.fedorov@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 01/11] tci: Fix build regression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov , qemu-devel@nongnu.org Cc: =?UTF-8?Q?Alex_Benn=c3=a9e?= , Sergey Fedorov , Paolo Bonzini , Peter Crosthwaite , Stefan Weil On 04/07/2016 08:53 AM, Sergey Fedorov wrote: > +/* Enable TCI assertions only when debugging TCG (and without NDEBUG defined). > + * Without assertions, the interpreter runs much faster. */ > +#if defined(CONFIG_DEBUG_TCG) > +# define tci_assert(cond) assert(cond) > +#else > +# define tci_assert(cond) ((void)0) > #endif > Please just use tcg_debug_assert. r~