From patchwork Wed Nov 21 07:43:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Voevodin X-Patchwork-Id: 200595 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B1C642C008E for ; Wed, 21 Nov 2012 18:43:47 +1100 (EST) Received: from localhost ([::1]:47479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb4yH-0007TJ-Ow for incoming@patchwork.ozlabs.org; Wed, 21 Nov 2012 02:43:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb4xv-00077y-AT for qemu-devel@nongnu.org; Wed, 21 Nov 2012 02:43:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tb4xu-0000DK-CE for qemu-devel@nongnu.org; Wed, 21 Nov 2012 02:43:23 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:39436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb4xu-0000D0-7S for qemu-devel@nongnu.org; Wed, 21 Nov 2012 02:43:22 -0500 Received: from eusync4.samsung.com (mailout4.w1.samsung.com [210.118.77.14]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MDT00CTLUT3X080@mailout4.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 21 Nov 2012 07:43:51 +0000 (GMT) Received: from evvoevodinPC.rnd.samsung.ru ([106.109.8.15]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MDT00BGQURZGE50@eusync4.samsung.com> for qemu-devel@nongnu.org; Wed, 21 Nov 2012 07:43:20 +0000 (GMT) From: Evgeny Voevodin To: qemu-devel@nongnu.org Date: Wed, 21 Nov 2012 11:43:07 +0400 Message-id: <1353483787-22308-6-git-send-email-e.voevodin@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1353483787-22308-1-git-send-email-e.voevodin@samsung.com> References: <1353483787-22308-1-git-send-email-e.voevodin@samsung.com> X-TM-AS-MML: No X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 210.118.77.14 Cc: Evgeny Voevodin , blauwirbel@gmail.com, kyungmin.park@samsung.com, edgar.iglesias@gmail.com, aurelien@aurel32.net, rth@twiddle.net Subject: [Qemu-devel] [PATCH 5/5] TCG: Remove unused global gen_opc_ arrays. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Evgeny Voevodin --- exec-all.h | 4 ---- translate-all.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/exec-all.h b/exec-all.h index 21aacda..b18d4ca 100644 --- a/exec-all.h +++ b/exec-all.h @@ -70,10 +70,6 @@ typedef struct TranslationBlock TranslationBlock; #define OPPARAM_BUF_SIZE (OPC_BUF_SIZE * MAX_OPC_PARAM) -extern target_ulong gen_opc_pc[OPC_BUF_SIZE]; -extern uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; -extern uint16_t gen_opc_icount[OPC_BUF_SIZE]; - #include "qemu-log.h" void gen_intermediate_code(CPUArchState *env, struct TranslationBlock *tb); diff --git a/translate-all.c b/translate-all.c index 2f616bf..f22e3ee 100644 --- a/translate-all.c +++ b/translate-all.c @@ -33,10 +33,6 @@ /* code generation context */ TCGContext tcg_ctx; -target_ulong gen_opc_pc[OPC_BUF_SIZE]; -uint16_t gen_opc_icount[OPC_BUF_SIZE]; -uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; - void cpu_gen_init(void) { tcg_context_init(&tcg_ctx);