Patchwork [v4,2/7] tcg/tcg.h: Duplicate global TCG variables in TCGContext

login
register
mail settings
Submitter Evgeny Voevodin
Date Oct. 31, 2012, 5:19 a.m.
Message ID <1351660795-24013-3-git-send-email-e.voevodin@samsung.com>
Download mbox | patch
Permalink /patch/195735/
State New
Headers show

Comments

Evgeny Voevodin - Oct. 31, 2012, 5:19 a.m.
From: Evgeny <e.voevodin@samsung.com>

Signed-off-by: Evgeny <e.voevodin@samsung.com>
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
---
 tcg/tcg.h |    6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/tcg/tcg.h b/tcg/tcg.h
index a6c9256..b229061 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -431,6 +431,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;