提交 fe7e1d3e 编写于 作者: R Richard Henderson 提交者: Aurelien Jarno

tcg: Fix !USE_DIRECT_JUMP

Commit 6375e09e changed the type of TranslationBlock.tb_next,
but failed to change the type of TCGContext.tb_next.
Signed-off-by: NRichard Henderson <rth@twiddle.net>
Reviewed-by: NAndreas Färber <afaerber@suse.de>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 eca5c303
...@@ -344,7 +344,7 @@ struct TCGContext { ...@@ -344,7 +344,7 @@ struct TCGContext {
/* goto_tb support */ /* goto_tb support */
uint8_t *code_buf; uint8_t *code_buf;
unsigned long *tb_next; uintptr_t *tb_next;
uint16_t *tb_next_offset; uint16_t *tb_next_offset;
uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */ uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册