]> git.proxmox.com Git - qemu.git/commitdiff
tcg/tcg.h: Duplicate global TCG variables in TCGContext
authorEvgeny Voevodin <e.voevodin@samsung.com>
Mon, 12 Nov 2012 09:27:44 +0000 (13:27 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 17 Nov 2012 13:53:26 +0000 (13:53 +0000)
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/tcg.h

index c2ae873715941eaadc00a66776127cb057643eea..6ffec1d47a6dc1d77314b800b4fc16dd7d7ab9a5 100644 (file)
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -450,6 +450,12 @@ struct TCGContext {
     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;
+
 #if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU)
     /* labels info for qemu_ld/st IRs
        The labels help to generate TLB miss case codes at the end of TB */