]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Reset data_gen_ptr correctly
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 16 Oct 2024 17:31:05 +0000 (17:31 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 10 Nov 2024 08:09:43 +0000 (11:09 +0300)
commitc042070bbf0ac1b3024f758d43f4519920811673
treecb9ad3ee07e66945d6455312309d7c892841a0e0
parentca45c06b006310b3d7bf5d0690e0db95f9a7ccde
tcg: Reset data_gen_ptr correctly

This pointer needs to be reset after overflow just like
code_buf and code_ptr.

Cc: qemu-stable@nongnu.org
Fixes: 57a269469db ("tcg: Infrastructure for managing constant pools")
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit a7cfd751fb269de4a93bf1658cb13911c7ac77cc)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/tcg.c