1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-29 16:30:19 +02:00

Return a function pointer from jit_address

This will allow supporting ARM code on armv7 without having to change
any users of Lightening.
This commit is contained in:
Icecream95 2020-04-09 19:30:18 +12:00
parent ba24ce465f
commit 8045386a45
No known key found for this signature in database
GPG key ID: 339D18472C107D93

View file

@ -171,7 +171,7 @@ jit_pointer_t
jit_address(jit_state_t *_jit)
{
ASSERT (_jit->start);
return _jit->pc.uc;
return jit_address_to_function_pointer (_jit->pc.uc);
}
void