guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 12/15: Remove implementation of logsub VM op


From: Andy Wingo
Subject: [Guile-commits] 12/15: Remove implementation of logsub VM op
Date: Fri, 13 Apr 2018 04:41:13 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit b32d3cc6f7f521f67637f30f83327110264b9dee
Author: Andy Wingo <address@hidden>
Date:   Thu Apr 12 17:22:11 2018 +0200

    Remove implementation of logsub VM op
    
    * libguile/vm-engine.c (logsub): Remove implementation.
---
 libguile/vm-engine.c | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c
index dc61982..b6638c4 100644
--- a/libguile/vm-engine.c
+++ b/libguile/vm-engine.c
@@ -2566,19 +2566,8 @@ VM_NAME (scm_i_thread *thread, struct scm_vm *vp,
 
   VM_DEFINE_OP (161, unused_161, NULL, NOP)
     {
-      ARGS2 (x, y);
-
-      if (SCM_I_INUMP (x) && SCM_I_INUMP (y))
-        {
-          scm_t_signed_bits a, b;
-
-          a = SCM_I_INUM (x);
-          b = SCM_I_INUM (y);
-
-          RETURN (SCM_I_MAKINUM (a & ~b));
-        }
-
-      RETURN_EXP (scm_logand (x, scm_lognot (y)));
+      vm_error_bad_instruction (op);
+      abort (); /* never reached */
     }
 
   /* ulogand dst:8 a:8 b:8



reply via email to

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