From b7a67f4ad8adae7f76ed2d3b481856826661dc09 Mon Sep 17 00:00:00 2001
From: dtc <dtc>
Date: Tue, 12 Sep 2000 07:37:39 +0000
Subject: [PATCH] For the logbitp transform, place the typically constant mask
 as the second argument to logand.

---
 compiler/srctran.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/srctran.lisp b/compiler/srctran.lisp
index b2c75b624..bb24508bd 100644
--- a/compiler/srctran.lisp
+++ b/compiler/srctran.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/srctran.lisp,v 1.101 2000/07/07 09:33:04 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/srctran.lisp,v 1.102 2000/09/12 07:37:39 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -224,7 +224,7 @@
 		       (member nil t))
   `(if (>= index #.vm:word-bits)
        (minusp integer)
-       (not (zerop (logand (ash 1 index) integer)))))
+       (not (zerop (logand integer (ash 1 index))))))
 
 ;;;; Interval arithmetic for computing bounds
 ;;;; (toy@rtp.ericsson.se)
-- 
GitLab