diff mbox

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

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

Commit Message

Evgeny Voevodin Oct. 19, 2012, 12:42 p.m. UTC
Signed-off-by: Evgeny <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 7bafe0e..8ba021a 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;