#| -*-Scheme-*-
-$Id: usicon.scm,v 4.4 1999/01/02 06:06:43 cph Exp $
+$Id: usicon.scm,v 4.5 2001/12/19 04:02:53 cph Exp $
-Copyright (c) 1987-1999 Massachusetts Institute of Technology
+Copyright (c) 1987-1999, 2001 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; SCode Optimizer: Usual Integrations: Constants
(declare (usual-integrations)
(integrate-external "object"))
-\f
+
(define usual-integrations/constant-names)
(define usual-integrations/constant-values)
(define usual-integrations/constant-alist)
(set! usual-integrations/constant-values
(map (lambda (name)
(let ((object
- (lexical-reference system-global-environment name)))
+ (environment-lookup system-global-environment name)))
(if (not (memq (microcode-type/code->name
(object-type object))
'(BIGNUM
(map (lambda (name)
(cons name
(constant/make
- false
- (lexical-reference system-global-environment name))))
+ #f
+ (environment-lookup system-global-environment name))))
usual-integrations/constant-names))
- 'DONE)
\ No newline at end of file
+ unspecific)
\ No newline at end of file
;;; -*-Scheme-*-
;;;
-;;; $Id: load.scm,v 1.7 2001/08/17 13:01:25 cph Exp $
+;;; $Id: load.scm,v 1.8 2001/12/19 04:03:54 cph Exp $
;;;
;;; Copyright (c) 1995-1999, 2001 Massachusetts Institute of Technology
;;;
(lambda (mname tname)
(syntax-table/define system-global-syntax-table
mname
- (lexical-reference environment tname))))))
+ (environment-lookup environment tname))))))
(install 'DEFINE-CLASS 'TRANSFORM:DEFINE-CLASS)
(install 'DEFINE-GENERIC 'TRANSFORM:DEFINE-GENERIC)
(install 'DEFINE-METHOD 'TRANSFORM:DEFINE-METHOD)