From: Chris Hanson Date: Fri, 19 Nov 2004 07:14:57 +0000 (+0000) Subject: Can't use #!UNASSIGNED; it compiles into an unreferenceable object. X-Git-Tag: 20090517-FFI~1461 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=429ec693e969e0408a05985c96a8412177dc9f4a;p=mit-scheme.git Can't use #!UNASSIGNED; it compiles into an unreferenceable object. --- diff --git a/v7/src/runtime/global.scm b/v7/src/runtime/global.scm index 1eaaacb9e..cadfc975f 100644 --- a/v7/src/runtime/global.scm +++ b/v7/src/runtime/global.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: global.scm,v 14.71 2004/11/19 07:11:36 cph Exp $ +$Id: global.scm,v 14.72 2004/11/19 07:14:30 cph Exp $ Copyright 1988,1989,1991,1992,1993,1995 Massachusetts Institute of Technology Copyright 1998,2000,2001,2003,2004 Massachusetts Institute of Technology @@ -317,13 +317,10 @@ USA. ;; same as `undefined-conditional-branch'. ;; (eq? object *the-non-printing-object*) ;; (eq? object unspecific) - (eq? object unassigned-object))) + (eq? object (object-new-type (ucode-type constant) 2)))) (define unspecific (object-new-type (ucode-type constant) 1)) - -(define unassigned-object - (object-new-type (ucode-type constant) 2)) (define (obarray->list #!optional obarray) (let ((obarray diff --git a/v7/src/runtime/parse.scm b/v7/src/runtime/parse.scm index f9ccd33b6..13a041c69 100644 --- a/v7/src/runtime/parse.scm +++ b/v7/src/runtime/parse.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: parse.scm,v 14.55 2004/11/19 07:11:43 cph Exp $ +$Id: parse.scm,v 14.56 2004/11/19 07:14:37 cph Exp $ Copyright 1986,1987,1988,1989,1990,1991 Massachusetts Institute of Technology Copyright 1992,1993,1994,1997,1998,1999 Massachusetts Institute of Technology @@ -489,7 +489,6 @@ USA. ((string-ci=? name "aux") lambda-aux-tag) ((string-ci=? name "eof") (make-eof-object #f)) ((string-ci=? name "default") (default-object)) - ((string-ci=? name "unassigned") unassigned-object) ((string-ci=? name "unspecific") unspecific) (else (error:illegal-named-constant name))))) diff --git a/v7/src/runtime/runtime.pkg b/v7/src/runtime/runtime.pkg index 62ab36906..23f9b83c4 100644 --- a/v7/src/runtime/runtime.pkg +++ b/v7/src/runtime/runtime.pkg @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: runtime.pkg,v 14.516 2004/11/19 07:11:55 cph Exp $ +$Id: runtime.pkg,v 14.517 2004/11/19 07:14:49 cph Exp $ Copyright 1988,1989,1990,1991,1992,1993 Massachusetts Institute of Technology Copyright 1994,1995,1996,1997,1998,1999 Massachusetts Institute of Technology @@ -370,10 +370,6 @@ USA. with-interrupt-mask with-values write-to-string) - (export (runtime parser) - unassigned-object) - (export (runtime unparser) - unassigned-object) (initialization (initialize-package!))) (define-package (runtime alternative-lambda) diff --git a/v7/src/runtime/unpars.scm b/v7/src/runtime/unpars.scm index 5750c1a57..b809bdef0 100644 --- a/v7/src/runtime/unpars.scm +++ b/v7/src/runtime/unpars.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: unpars.scm,v 14.61 2004/11/19 07:12:03 cph Exp $ +$Id: unpars.scm,v 14.62 2004/11/19 07:14:57 cph Exp $ Copyright 1986,1987,1990,1991,1992,1995 Massachusetts Institute of Technology Copyright 1996,2001,2002,2003,2004 Massachusetts Institute of Technology @@ -322,7 +322,6 @@ USA. ((eq? object lambda-key-tag) (*unparse-string "#!key")) ((eq? object lambda-optional-tag) (*unparse-string "#!optional")) ((eq? object lambda-rest-tag) (*unparse-string "#!rest")) - ((eq? object unassigned-object) (*unparse-string "#!unassigned")) ((eq? object unspecific) (*unparse-string "#!unspecific")) (else (unparse/default object))))