mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 22:17:44 +00:00
8f4f15e5f5
Instead of exporting goto_ptr directly to TCG frontends, export tcg_gen_lookup_and_goto_ptr(), which calls goto_ptr with the pointer returned by the lookup_tb_ptr() helper. This is the only use case we have for goto_ptr and lookup_tb_ptr, so having this function is very convenient. Furthermore, it trivially allows us to avoid calling the lookup helper if goto_ptr is not implemented by the backend. Backports commit cedbcb01529cb6cf9a2289cdbebbc63f6149fc18 from qemu |
||
---|---|---|
.. | ||
tcg-target.h | ||
tcg-target.inc.c |