From patchwork Mon Oct 29 09:14:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3,1/6] tcg/tcg.h: Duplicate global TCG variables in TCGContext Date: Sun, 28 Oct 2012 23:14:30 -0000 From: Evgeny Voevodin X-Patchwork-Id: 194927 Message-Id: <1351502075-12356-2-git-send-email-e.voevodin@samsung.com> To: qemu-devel@nongnu.org Cc: Evgeny , blauwirbel@gmail.com, kyungmin.park@samsung.com, edgar.iglesias@gmail.com, aurelien@aurel32.net, rth@twiddle.net From: Evgeny Signed-off-by: Evgeny Signed-off-by: Evgeny Voevodin --- tcg/tcg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tcg/tcg.h b/tcg/tcg.h index 45e94f5..43b4317 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -422,6 +422,12 @@ struct TCGContext { int temps_in_use; int goto_tb_issue_mask; #endif + + uint16_t gen_opc_buf[OPC_BUF_SIZE]; + TCGArg gen_opparam_buf[OPPARAM_BUF_SIZE]; + + uint16_t *gen_opc_ptr; + TCGArg *gen_opparam_ptr; }; extern TCGContext tcg_ctx;