guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/02: Fix apply_addend bug


From: Andy Wingo
Subject: [Guile-commits] 01/02: Fix apply_addend bug
Date: Wed, 24 Apr 2019 16:57:34 -0400 (EDT)

wingo pushed a commit to branch lightening
in repository guile.

commit b34e2304136929d7fdfe49a73b5e0661cb98f798
Author: Andy Wingo <address@hidden>
Date:   Wed Apr 24 22:56:48 2019 +0200

    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 3b89c0c..c9676fe 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[] = {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]