1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Fix the jitless fix

* libguile/vm.c (capture_continuation): Use #if, not #ifdef, to test the
  condition.
This commit is contained in:
Andy Wingo 2019-08-19 16:43:43 +02:00
parent 9d78665539
commit 9e3a5c9a10

View file

@ -1157,7 +1157,7 @@ capture_continuation (scm_thread *thread)
{
struct scm_vm *vp = &thread->vm;
void *mra = SCM_FRAME_MACHINE_RETURN_ADDRESS (vp->fp);
#ifdef ENABLE_JIT
#if ENABLE_JIT
if (mra == scm_jit_return_to_interpreter_trampoline)
mra = NULL;
#endif