diff mbox

[v3,1/6] tcg/tcg.h: Duplicate global TCG variables in TCGContext

Message ID 1351502075-12356-2-git-send-email-e.voevodin@samsung.com
State New
Headers show

Commit Message

Evgeny Voevodin Oct. 29, 2012, 9:14 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 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;