]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/exec/tb-context.h
tcg: allocate TB structs before the corresponding translated code
[mirror_qemu.git] / include / exec / tb-context.h
index c7f17f26e07c364ae1bef86c23dacfec602581a9..25c2afe753d783849ee60ad2d6ac1ea7bfc8de51 100644 (file)
@@ -31,8 +31,9 @@ typedef struct TBContext TBContext;
 
 struct TBContext {
 
-    TranslationBlock *tbs;
+    TranslationBlock **tbs;
     struct qht htable;
+    size_t tbs_size;
     int nb_tbs;
     /* any access to the tbs or the page table must use this lock */
     QemuMutex tb_lock;