Fix bug in INDIRECT_TEST_1 and INDIRECT_TEST_2 by adding a use of
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Fri, 18 Jan 1991 01:13:31 +0000 (01:13 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Fri, 18 Jan 1991 01:13:31 +0000 (01:13 +0000)
BOOLEAN_TO_OBJECT.

v7/src/microcode/generic.c
v7/src/microcode/version.h
v8/src/microcode/version.h

index d1989379af44cd7342155f021db327b570c67cfc..875d79a85402183fac597220457a3c96bac277b7 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/generic.c,v 9.34 1990/06/20 17:40:46 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/generic.c,v 9.35 1991/01/18 01:12:48 jinx Exp $
 
 Copyright (c) 1987, 1988, 1989, 1990 Massachusetts Institute of Technology
 
@@ -52,7 +52,7 @@ MIT in each case. */
   {                                                                    \
     fast SCHEME_OBJECT x = (ARG_REF (1));                              \
     if (FIXNUM_P (x))                                                  \
-      return (test (x));                                               \
+      return (BOOLEAN_TO_OBJECT (test (x)));                           \
   }                                                                    \
   INDIRECT (slot, 1);                                                  \
 }
@@ -87,7 +87,7 @@ DEFINE_PRIMITIVE ("-1+", Prim_subtract_one, 1, 1, 0)
     fast SCHEME_OBJECT x = (ARG_REF (1));                              \
     fast SCHEME_OBJECT y = (ARG_REF (2));                              \
     if ((FIXNUM_P (x)) && (FIXNUM_P (y)))                              \
-      return (test (x, y));                                            \
+      return (BOOLEAN_TO_OBJECT (test (x, y)));                                \
   }                                                                    \
   INDIRECT (slot, 2);                                                  \
 }
index f495b29bea5ce62e50678bd34ad9629bdaa29f52..77f002699d779181648ab2b842416394dddb46a2 100644 (file)
@@ -1,8 +1,8 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/version.h,v 11.59 1990/12/10 19:40:48 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/version.h,v 11.60 1991/01/18 01:13:31 jinx Exp $
 
-Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990, 1991 Massachusetts Institute of Technology
 
 This material was developed by the Scheme project at the Massachusetts
 Institute of Technology, Department of Electrical Engineering and
@@ -46,5 +46,5 @@ MIT in each case. */
 #define VERSION                11
 #endif
 #ifndef SUBVERSION
-#define SUBVERSION     59
+#define SUBVERSION     60
 #endif
index 9fe6f32cbaaf0902ed2f0979fdeae032dbf6d861..60479a05b3bd77e891f653debeb65914610ed5aa 100644 (file)
@@ -1,8 +1,8 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/version.h,v 11.59 1990/12/10 19:40:48 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/version.h,v 11.60 1991/01/18 01:13:31 jinx Exp $
 
-Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990, 1991 Massachusetts Institute of Technology
 
 This material was developed by the Scheme project at the Massachusetts
 Institute of Technology, Department of Electrical Engineering and
@@ -46,5 +46,5 @@ MIT in each case. */
 #define VERSION                11
 #endif
 #ifndef SUBVERSION
-#define SUBVERSION     59
+#define SUBVERSION     60
 #endif