From patchwork Thu Dec 21 19:36:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 852092 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z2hk90PBBz9s84 for ; Fri, 22 Dec 2017 06:37:37 +1100 (AEDT) Received: from localhost ([::1]:37784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS6et-0006Cn-91 for incoming@patchwork.ozlabs.org; Thu, 21 Dec 2017 14:37:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS6eA-0006AK-SV for qemu-devel@nongnu.org; Thu, 21 Dec 2017 14:36:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS6e6-0005bL-NG for qemu-devel@nongnu.org; Thu, 21 Dec 2017 14:36:50 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:62753) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eS6e6-0005aT-Cl for qemu-devel@nongnu.org; Thu, 21 Dec 2017 14:36:46 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LqJhV-1exKjV3Z4b-00e2HC; Thu, 21 Dec 2017 20:36:45 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Thu, 21 Dec 2017 20:36:37 +0100 Message-Id: <20171221193640.27418-3-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221193640.27418-1-laurent@vivier.eu> References: <20171221193640.27418-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K0:wJR3hMY8e8QwOQifM8CgrqVVzCltg+v44r41qYQ40iQQ13kWOXx vAFSS2JxSb0aLp5bQDoCG3Fi8j9RMTb0u2QHaNy8ycYVTWtUxgCkJIHDb1qIlBN1CsQBoQC UAqpJ6XExDGBs/ifRtVClRnYK8eSm0vIWgTwSviRV58576VCNO5AHkb0fCnHvII1sUDn4/z VdaSvYwLeRfD7OubDoICA== X-UI-Out-Filterresults: notjunk:1; V01:K0:R+ybfL6k1DY=:tRMDZX1WU8/rO1eO7OnJ57 Sx4FoZ+vHHBBhdg6+Xm6iFk9HpGuWGEniyEw23xv9I36fFnSC9HTPy8zyv1d0vD8MgZ6hGTej FlAnImV/TTtd5o/aGZvV8kbgsotlFqmLQq1P9Z8XFhdmtrEa+BW9KM7WGpzTWfgoV9o7BaEB1 Z7egSNcJBx6FPmV6/wdEgUibxcL/cH7cAeaoSJvXfFkmkn5Ixa4tEADrabH6FxLtR4N2lvL74 1Sdpr0CBXR1vf2JATDgwnUFPXuLrLVNB0GEF+w0MKPTlKQ2pkzF/r7G82LcDycfSLfB8pmLCb JikmKb6JrjJttyZgC3mxIX3/8b+khXFTLUlU1Va148B3zIS/6N+vx0roDVImpsmi1ok3lJ8E3 9M1gAd8db4fW5OgtBArFXKjTO2iXvOx4OG1VX/qJcnfE0vnvqTo6ohPGO4tQ4Fg+Lf8ErSfZ6 6OIxmtUZc1I7nvBAPECdprvFxcQ9QN+muh4R877IGV8OzZIYrG25ftOaqGJgAt3QyfhmzoaLT 9QEmj2W5flvkm/wkOgqvV2XbfZlw45cPtzME7T536yudANGUTn/X6t/CoSQjwoOFqqSm5i00i 5UiwAJv9yM7hAL8MVLk8BqPs6B18VIYCtNnC2fF6R49X1X6g748rL5EJ6ar+5IPBmOvVyNCUo BnoHrK841ngYLs22pC+webTp7momiPs6paGz2xEwtsxcXwFvdO+8BvIe8fNQ087aMs2+9DODr yp1QB4lf3K2sNrsStf0y90oIgR7mMEbXQnFu1ulHgfhddWZ3YXtamBhbc2qOy30UD8Cp5o3b3 frneZvM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.134 Subject: [Qemu-devel] [PULL 2/5] target/m68k: remove unused variable gen_throws_exception X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" It has been introduced by e6e5906b6e ("ColdFire target."), but the content is never used. Signed-off-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id: <20171220130815.20708-1-laurent@vivier.eu> --- target/m68k/translate.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/target/m68k/translate.c b/target/m68k/translate.c index b60909222c..dfb2d5dad2 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -181,11 +181,6 @@ static void do_writebacks(DisasContext *s) #define IS_USER(s) s->user #endif -/* XXX: move that elsewhere */ -/* ??? Fix exceptions. */ -static void *gen_throws_exception; -#define gen_last_qop NULL - typedef void (*disas_proc)(CPUM68KState *env, DisasContext *s, uint16_t insn); #ifdef DEBUG_DISPATCH @@ -310,7 +305,6 @@ static inline TCGv gen_load(DisasContext * s, int opsize, TCGv addr, int sign) default: g_assert_not_reached(); } - gen_throws_exception = gen_last_qop; return tmp; } @@ -331,7 +325,6 @@ static inline void gen_store(DisasContext *s, int opsize, TCGv addr, TCGv val) default: g_assert_not_reached(); } - gen_throws_exception = gen_last_qop; } typedef enum { @@ -1001,7 +994,6 @@ static void gen_load_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp) } tcg_temp_free(tmp); tcg_temp_free_i64(t64); - gen_throws_exception = gen_last_qop; } static void gen_store_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp) @@ -1056,7 +1048,6 @@ static void gen_store_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp) } tcg_temp_free(tmp); tcg_temp_free_i64(t64); - gen_throws_exception = gen_last_qop; } static void gen_ldst_fp(DisasContext *s, int opsize, TCGv addr, @@ -5561,7 +5552,6 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock *tb) gen_tb_start(tb); do { pc_offset = dc->pc - pc_start; - gen_throws_exception = NULL; tcg_gen_insn_start(dc->pc, dc->cc_op); num_insns++;