/[cmucl]/src/code/type-boot.lisp
ViewVC logotype

Contents of /src/code/type-boot.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations)
Fri Mar 19 15:19:00 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: sparc-tramp-assem-base, post-merge-intl-branch, release-20b-pre1, release-20b-pre2, sparc-tramp-assem-2010-07-19, GIT-CONVERSION, cross-sol-x86-merged, RELEASE_20b, cross-sol-x86-base, snapshot-2010-12, snapshot-2010-11, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, snapshot-2010-05, snapshot-2010-04, snapshot-2010-07, snapshot-2010-06, snapshot-2010-08, cross-sol-x86-2010-12-20, cross-sparc-branch-base, HEAD
Branch point for: cross-sparc-branch, RELEASE-20B-BRANCH, sparc-tramp-assem-branch, cross-sol-x86-branch
Changes since 1.9: +2 -1 lines
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.
1 ;;; -*- Log: code.log; Package: C -*-
2 ;;;
3 ;;; **********************************************************************
4 ;;; This code was written as part of the CMU Common Lisp project at
5 ;;; Carnegie Mellon University, and has been placed in the public domain.
6 ;;;
7 (ext:file-comment
8 "$Header: /tiger/var/lib/cvsroots/cmucl/src/code/type-boot.lisp,v 1.10 2010/03/19 15:19:00 rtoy Rel $")
9 ;;;
10 ;;; **********************************************************************
11 ;;;
12 ;;; Some initialization hacks that we need to get the type system started up
13 ;;; enough so that we can define the types used to define types.
14 ;;;
15 (in-package "C")
16 (intl:textdomain "cmucl")
17
18 (deftype inlinep ()
19 '(member :inline :maybe-inline :notinline nil))
20
21 (deftype boolean ()
22 '(member t nil))
23
24 (in-package "KERNEL")
25
26 ;;; Define this so that we can copy type-class structures before the defstruct
27 ;;; for type-class runs.
28 ;;;
29 (defun copy-type-class (tc)
30 (let ((new (make-type-class)))
31 (dotimes (i (%instance-length tc))
32 (declare (type index i))
33 (setf (%instance-ref new i)
34 (%instance-ref tc i)))
35 new))
36
37 ;;; Define the STRUCTURE-OBJECT class as a subclass of INSTANCE. This must be
38 ;;; the first DEFSTRUCT executed.
39 ;;;
40 (defstruct (structure-object (:alternate-metaclass instance)))

  ViewVC Help
Powered by ViewVC 1.1.5