x86: Fix ffi_prep_closure_loc (#542)
authorhjl-tools <hjl.tools@gmail.com>
Sat, 22 Feb 2020 14:32:22 +0000 (06:32 -0800)
committerGitHub <noreply@github.com>
Sat, 22 Feb 2020 14:32:22 +0000 (09:32 -0500)
commitd9abffeabe4f38bac12b864146cf974ede814411
tree2301c779eb98ee591be1fc9feea99fbc87155f80
parent624c7a35f7e1d12f917453d6c657cd5947ac57f7
x86: Fix ffi_prep_closure_loc (#542)

Since FFI_TRAMPOLINE_SIZE is increased by 4 bytes to add ENDBR32, adjust
jump displacement by 4 bytes.
src/x86/ffi.c