guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 04/07: Fix compilation of compile_eq


From: Andy Wingo
Subject: [Guile-commits] 04/07: Fix compilation of compile_eq
Date: Sun, 2 Sep 2018 03:24:25 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit dafa648915a6f2f1638e37e19fdcdb1b9325faf5
Author: Andy Wingo <address@hidden>
Date:   Sat Sep 1 10:11:17 2018 +0200

    Fix compilation of compile_eq
    
    * libguile/jit.c (compile_eq): Compare to register, not immediate.
---
 libguile/jit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libguile/jit.c b/libguile/jit.c
index 1c76285..d8d9677 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -3213,10 +3213,10 @@ compile_eq (scm_jit_state *j, uint16_t a, uint16_t b)
   switch (fuse_conditional_branch (j, &target))
     {
     case scm_op_je:
-      k = jit_beqi (T0, T1);
+      k = jit_beqr (T0, T1);
       break;
     case scm_op_jne:
-      k = jit_bnei (T0, T1);
+      k = jit_bner (T0, T1);
       break;
     default:
       UNREACHABLE ();



reply via email to

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