From b34e2304136929d7fdfe49a73b5e0661cb98f798 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 24 Apr 2019 22:56:48 +0200 Subject: [PATCH] Fix apply_addend bug * lightening/x86.c (jit_move_operands): Fix bug when calling apply_addend. --- lightening/x86.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lightening/x86.c b/lightening/x86.c index 3b89c0ca4..c9676fe5a 100644 --- a/lightening/x86.c +++ b/lightening/x86.c @@ -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[] = {