/[cmucl]/src/pcl/fixup.lisp
ViewVC logotype

Contents of /src/pcl/fixup.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations)
Fri Mar 28 16:07:42 2003 UTC (11 years ago) by gerd
Branch: MAIN
Changes since 1.8: +3 -0 lines
	Break some vicious metacircles.

	* pcl/dfun.lisp (*standard-classes*, *standard-slot-locations*):
	New variables.
	(compute-standard-slot-locations, standard-slot-value)
	(standard-slot-value/gf, standard-slot-value/method)
	(standard-slot-value/eslotd, standard-slot-value/class)
	(maybe-update-standard-class-locations): New functions.
	(*cmv-stack*): New variable.
	(cache-miss-values-internal): Use it to detect vicious circles,
	and call break-vicious-metacircle.
	(break-vicious-metacircle, accesses-standard-class-slot-p)
	(find-standard-class-accessor-method): New functions.

	* pcl/std-class.lisp (update-slots): Call
	maybe-update-standard-class-locations.

	* pcl/fixup.lisp (toplevel): Call compute-standard-slot-locations.
1 wlott 1.1 ;;;-*-Mode:LISP; Package:(PCL LISP 1000); Base:10; Syntax:Common-lisp -*-
2     ;;;
3     ;;; *************************************************************************
4     ;;; Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990 Xerox Corporation.
5     ;;; All rights reserved.
6     ;;;
7     ;;; Use and copying of this software and preparation of derivative works
8     ;;; based upon this software are permitted. Any distribution of this
9     ;;; software or derivative works must comply with all applicable United
10     ;;; States export control laws.
11     ;;;
12     ;;; This software is made available AS IS, and Xerox Corporation makes no
13     ;;; warranty about the software, its performance or its conformity to any
14     ;;; specification.
15     ;;;
16     ;;; Any person obtaining a copy of this software is requested to send their
17     ;;; name and post office or electronic mail address to:
18     ;;; CommonLoops Coordinator
19     ;;; Xerox PARC
20     ;;; 3333 Coyote Hill Rd.
21     ;;; Palo Alto, CA 94304
22     ;;; (or send Arpanet mail to CommonLoops-Coordinator.pa@Xerox.arpa)
23     ;;;
24     ;;; Suggestions, comments and requests for improvements are also welcome.
25     ;;; *************************************************************************
26    
27 phg 1.6 (in-package :pcl)
28 wlott 1.1
29 gerd 1.8 #-loadable-pcl
30     (progn
31     (/show "Fixing generic functions")
32     (fix-early-generic-functions)
33     (/show "PCL boot state COMPLETE")
34     (setq *boot-state* 'complete))
35 wlott 1.1
36 gerd 1.9 (/show "Computing standard slot locations")
37     (compute-standard-slot-locations)
38    
39 wlott 1.1 (defun print-std-instance (instance stream depth)
40     (declare (ignore depth))
41     (print-object instance stream))
42    

  ViewVC Help
Powered by ViewVC 1.1.5