1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 22:40:34 +02:00

Fix apply_addend bug

* lightening/x86.c (jit_move_operands): Fix bug when calling
  apply_addend.
This commit is contained in:
Andy Wingo 2019-04-24 22:56:48 +02:00
parent 4db777e12e
commit b34e230413

View file

@ -793,8 +793,7 @@ jit_move_operands(jit_state_t *_jit, jit_operand_t *dst, jit_operand_t *src,
// at least at the end we know that an in-place increment of one
// operand won't alias another.
for (size_t i = 0; i < argc; i++)
if (status[i] == TO_MOVE)
apply_addend(_jit, dst[i], src[i]);
apply_addend(_jit, dst[i], src[i]);
}
static const jit_gpr_t abi_gpr_args[] = {