Patchwork [1/5] tcg/tcg.h: Duplicate global TCG gen_opc_ arrays into TCGContext.

login
register
mail settings
Submitter Evgeny Voevodin
Date Nov. 21, 2012, 7:43 a.m.
Message ID <1353483787-22308-2-git-send-email-e.voevodin@samsung.com>
Download mbox | patch
Permalink /patch/200593/
State New
Headers show

Comments

Evgeny Voevodin - Nov. 21, 2012, 7:43 a.m.
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
---
 tcg/tcg.h |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/tcg/tcg.h b/tcg/tcg.h
index 9481e35..f6e255f 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -455,6 +455,9 @@  struct TCGContext {
 
     uint16_t *gen_opc_ptr;
     TCGArg *gen_opparam_ptr;
+    target_ulong gen_opc_pc[OPC_BUF_SIZE];
+    uint16_t gen_opc_icount[OPC_BUF_SIZE];
+    uint8_t gen_opc_instr_start[OPC_BUF_SIZE];
 
 #if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU)
     /* labels info for qemu_ld/st IRs