aboutsummaryrefslogtreecommitdiff
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorIcenowy Zheng <uwu@icenowy.me>2022-10-29 06:23:44 +1100
committerRichard Henderson <richard.henderson@linaro.org>2022-11-01 07:28:53 +1100
commit9dd1d56e570e5119fef2b28fda811d6891e597a8 (patch)
treebe7a951f863d23cc20d5cd4fcf6d5b2f310925fc /include/exec/exec-all.h
parenta59a293126604183dd63bf8b890393e32e7702c4 (diff)
tcg/tci: fix logic error when registering helpers via FFI
When registering helpers via FFI for TCI, the inner loop that iterates parameters of the helper reuses (and thus pollutes) the same variable used by the outer loop that iterates all helpers, thus made some helpers unregistered. Fix this logic error by using a dedicated temporary variable for the inner loop. Fixes: 22f15579fa ("tcg: Build ffi data structures for helpers") Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Message-Id: <20221028072145.1593205-1-uwu@icenowy.me> [rth: Move declaration of j to the for loop itself] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions