Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
b79d3f06
Commit
b79d3f06
authored
Apr 22, 1991
by
ram
Browse files
Added a (OPTIMIZE (SAFETY 1)) in LEAF-VALUE so that we get unbound errors in
interpreted code, even when the interpreter is compiled unsafe.
parent
ae2bb7b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/eval.lisp
View file @
b79d3f06
...
...
@@ -7,12 +7,10 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/eval.lisp,v 1.1
7
1991/04/
09 14:40:43
ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/eval.lisp,v 1.1
8
1991/04/
22 23:05:05
ram Exp $"
)
;;;
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/eval.lisp,v 1.17 1991/04/09 14:40:43 ram Exp $
;;;
;;; This file contains the interpreter. We first convert to the compiler's
;;; IR1 and interpret that.
;;;
...
...
@@ -1029,12 +1027,13 @@
(
c::constant
(
c::constant-value
leaf
))
(
c::global-var
(
if
(
eq
(
c::global-var-kind
leaf
)
:global-function
)
(
let
((
name
(
c::global-var-name
leaf
)))
(
if
(
symbolp
name
)
(
symbol-function
name
)
(
fdefinition
name
)))
(
symbol-value
(
c::global-var-name
leaf
))))
(
locally
(
declare
(
optimize
(
safety
1
)))
(
if
(
eq
(
c::global-var-kind
leaf
)
:global-function
)
(
let
((
name
(
c::global-var-name
leaf
)))
(
if
(
symbolp
name
)
(
symbol-function
name
)
(
fdefinition
name
)))
(
symbol-value
(
c::global-var-name
leaf
)))))
(
c::lambda-var
(
leaf-value-lambda-var
node
leaf
frame-ptr
closure
))
(
c::functional
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment