1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00

Align stack before entering JIT code

* libguile/jit.c (emit_entry_trampoline): Ensure stack is aligned when
  going into JIT code.
This commit is contained in:
Andy Wingo 2019-04-26 10:05:18 +02:00
parent 51618e7e83
commit 26bd81716b

View file

@ -1293,6 +1293,8 @@ emit_entry_trampoline (scm_jit_state *j)
/* Load FP, set during call sequences. */
emit_reload_fp (j);
size_t alignment = jit_align_stack (j->jit, 0);
/* Jump to the mcode! */
jit_jmpr (j->jit, T0);