From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN2el-0002Fh-FO for qemu-devel@nongnu.org; Mon, 10 Mar 2014 12:02:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN2ed-0005lI-2x for qemu-devel@nongnu.org; Mon, 10 Mar 2014 12:02:23 -0400 Received: from mail-qc0-x233.google.com ([2607:f8b0:400d:c01::233]:36136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN2ec-0005l0-RK for qemu-devel@nongnu.org; Mon, 10 Mar 2014 12:02:14 -0400 Received: by mail-qc0-f179.google.com with SMTP id m20so7818566qcx.24 for ; Mon, 10 Mar 2014 09:02:12 -0700 (PDT) Sender: Richard Henderson Message-ID: <531DE1F6.2060306@twiddle.net> Date: Mon, 10 Mar 2014 09:01:58 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1394043257-4800-1-git-send-email-rth@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-arm: Fix intptr_t vs tcg_target_long List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 03/10/2014 05:08 AM, Peter Maydell wrote: > A quick grep of the uses of tcg_gen_exit_tb() suggests > we would be better to change this function to take > (TranslationBlock *tb, int tb_exit_code), possibly > also with a special case for 0 if "tcg_gen_exit_tb(NULL, 0)" > seems too verbose. No, since the goto_tb cases use (tb | n), so you wind up casting to an integer type anyway. r~