Change the way 32 bit offsets are implemented.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 30 Jul 1987 14:59:49 +0000 (14:59 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 30 Jul 1987 14:59:49 +0000 (14:59 +0000)
v7/src/microcode/comutl.c
v7/src/microcode/version.h
v8/src/microcode/version.h

index 70a24d5583141f3c54bdaa2d0ce6cb31d4a665b4..84bd695ef0867b071b4df4836cc75adcb9e2e396 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/comutl.c,v 1.7 1987/07/22 21:54:26 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/comutl.c,v 1.8 1987/07/30 14:59:49 jinx Rel $
 
 Copyright (c) 1987 Massachusetts Institute of Technology
 
@@ -69,21 +69,11 @@ long
 compiled_entry_to_block_offset(ce)
      Pointer ce;
 {
-#ifdef Get_Compiled_Offset
-
   Pointer *address;
-  long offset;
 
   address = Get_Pointer(ce);
-  Get_Compiled_Offset(offset, address);
-  return offset;
-
-#else
-
-  error_external_return();
-  /*NOTREACHED*/
-
-#endif
+  return (((unsigned long) address) -
+         ((unsigned long) compiled_entry_to_block_address(address)));
 }
 \f
 Built_In_Primitive (Prim_comp_code_address_block, 1,
index 02fd19cf94a42ec01f4ce7e9c968a8f2bbef1fd5..9656532d2cb0ca4277be41d48b41b6cd347dda1f 100644 (file)
@@ -30,7 +30,7 @@ Technology nor of any adaptation thereof in any advertising,
 promotional, or sales literature without prior written consent from
 MIT in each case. */
 
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/version.h,v 9.87 1987/07/29 03:57:02 cph Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/version.h,v 9.88 1987/07/30 14:59:07 jinx Exp $
 
 This file contains version information for the microcode. */
 \f
@@ -46,7 +46,7 @@ This file contains version information for the microcode. */
 #define VERSION                9
 #endif
 #ifndef SUBVERSION
-#define SUBVERSION     87
+#define SUBVERSION     88
 #endif
 
 #ifndef UCODE_TABLES_FILENAME
index 0d6b6a1b467c9295d8332ad5100eb648e3c3b0dc..1ad29fcb8c5f27aacbf99fa5e1a335821e1afcd2 100644 (file)
@@ -30,7 +30,7 @@ Technology nor of any adaptation thereof in any advertising,
 promotional, or sales literature without prior written consent from
 MIT in each case. */
 
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/version.h,v 9.87 1987/07/29 03:57:02 cph Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/version.h,v 9.88 1987/07/30 14:59:07 jinx Exp $
 
 This file contains version information for the microcode. */
 \f
@@ -46,7 +46,7 @@ This file contains version information for the microcode. */
 #define VERSION                9
 #endif
 #ifndef SUBVERSION
-#define SUBVERSION     87
+#define SUBVERSION     88
 #endif
 
 #ifndef UCODE_TABLES_FILENAME