]> 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>
Fri, 25 Oct 2024 13:31:13 +0000 (16:31 +0300)
commitfbe5afdd30cdf428ee3f65d9bb8f9fdbbe4387bf
tree4f5a9d0cdbb20ce42394720306f0d27263e23416
parenta22bd36631ecb0e8dfab73f7f1491c6d2cd340fb
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