are not put in pure space.
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/bchpur.c,v 9.29 1987/06/02 08:43:02 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bchpur.c,v 9.30 1987/06/05 17:29:53 cph Exp $
*
* This file contains the code for primitives dealing with pure
* and constant space. Garbage collection to disk version.
break;
case_compiled_entry_point:
+ if (GC_Mode == PURE_COPY)
+ break;
Old = Get_Pointer(Temp);
if (Old >= Low_Constant)
continue;
case_Quadruple:
relocate_normal_pointer(copy_quadruple(), 4);
\f
+ case TC_COMPILED_CODE_BLOCK:
case TC_ENVIRONMENT:
if (purify_mode == PURE_COPY)
break;
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/purify.c,v 9.27 1987/06/02 00:17:36 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/purify.c,v 9.28 1987/06/05 17:29:07 cph Rel $
*
* This file contains the code that copies objects into pure
* and constant space.
GC dameons spliced them, but this should not occur.
*/
+ case TC_COMPILED_CODE_BLOCK:
case TC_FUTURE:
case TC_ENVIRONMENT:
if (GC_Mode == PURE_COPY)
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/purutl.c,v 9.28 1987/04/16 02:28:06 jinx Exp $ */
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/purutl.c,v 9.29 1987/06/05 17:29:30 cph Rel $ */
/* Pure/Constant space utilities. */
if ((GC_Type_Non_Pointer(Arg1)) ||
(GC_Type_Special(Arg1)))
return TRUTH;
- if (GC_Type_Compiled(Arg1))
- return NIL;
Touch_In_Primitive(Arg1, Arg1);
{
Pointer *Obj_Address;
- Obj_Address = Get_Pointer(Arg1);
+ Obj_Address =
+ ((GC_Type_Compiled(Arg1))
+ ? (Get_Compiled_Block(Get_Pointer(Arg1)))
+ : (Get_Pointer(Arg1)));
if (Is_Pure(Obj_Address))
return TRUTH;
}
Touch_In_Primitive(Arg1, Arg1);
return ((GC_Type_Non_Pointer(Arg1)) ||
(GC_Type_Special(Arg1)) ||
- ((Get_Pointer(Arg1) >= Constant_Space) &&
- (Get_Pointer(Arg1) < Free_Constant))) ?
+ (Is_Constant(Get_Pointer(Arg1)))) ?
TRUTH : NIL;
}
;;;; Machine Dependent Type Tables
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/utabmd.scm,v 9.33 1987/06/05 16:25:42 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/utabmd.scm,v 9.34 1987/06/05 17:28:37 cph Exp $
(declare (usual-integrations))
COMPILER-LINK ;3A
STACK-ENVIRONMENT ;3B
COMPLEX ;3C
- #F ;3D
+ COMPILED-CODE-BLOCK ;3D
#F ;3E
#F ;3F
#F ;40
;;; This identification string is saved by the system.
-"$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/utabmd.scm,v 9.33 1987/06/05 16:25:42 cph Exp $"
+"$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/utabmd.scm,v 9.34 1987/06/05 17:28:37 cph Exp $"
;;;; Machine Dependent Type Tables
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/utabmd.scm,v 9.33 1987/06/05 16:25:42 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/utabmd.scm,v 9.34 1987/06/05 17:28:37 cph Exp $
(declare (usual-integrations))
COMPILER-LINK ;3A
STACK-ENVIRONMENT ;3B
COMPLEX ;3C
- #F ;3D
+ COMPILED-CODE-BLOCK ;3D
#F ;3E
#F ;3F
#F ;40
;;; This identification string is saved by the system.
-"$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/utabmd.scm,v 9.33 1987/06/05 16:25:42 cph Exp $"
+"$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/utabmd.scm,v 9.34 1987/06/05 17:28:37 cph Exp $"