diff mbox

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

Message ID 1351660795-24013-3-git-send-email-e.voevodin@samsung.com
State New
Headers show

Commit Message

Evgeny Voevodin Oct. 31, 2012, 5:19 a.m. UTC
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(+)
diff mbox

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;