Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
a3b93232
Commit
a3b93232
authored
33 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Added support for the LEXENV-INTERFACE-COOKIE and added
MAKE-INTERFACE-COOKIE.
parent
dbaaaadf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/ir1util.lisp
+22
-11
22 additions, 11 deletions
compiler/ir1util.lisp
with
22 additions
and
11 deletions
compiler/ir1util.lisp
+
22
−
11
View file @
a3b93232
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1util.lisp,v 1.3
6
1991/04/0
4
14:11:
3
0 ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1util.lisp,v 1.3
7
1991/04/
2
0 14:11:0
6
ram Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -352,7 +352,8 @@
inlines
(
lambda
(
lexenv-lambda
default
))
(
cleanup
(
lexenv-cleanup
default
))
(
cookie
(
lexenv-cookie
default
)))
(
cookie
(
lexenv-cookie
default
))
(
interface-cookie
(
lexenv-interface-cookie
default
)))
(
macrolet
((
frob
(
var
slot
)
`
(
let
((
old
(
,
slot
default
)))
(
if
,
var
...
...
@@ -365,15 +366,25 @@
(
frob
tags
lexenv-tags
)
(
frob
type-restrictions
lexenv-type-restrictions
)
(
frob
inlines
lexenv-inlines
)
lambda
cleanup
cookie
)))
#|
functions
variables
blocks
tags
type-restrictions
inlines
|#
lambda
cleanup
cookie
interface-cookie
)))
;;; MAKE-INTERFACE-COOKIE -- Interface
;;;
;;; Return a cookie that defaults any unsupplied optimize qualities in the
;;; Interface-Cookie with the corresponding ones from the Cookie.
;;;
(
defun
make-interface-cookie
(
lexenv
)
(
declare
(
type
lexenv
lexenv
))
(
let
((
icookie
(
lexenv-interface-cookie
lexenv
))
(
cookie
(
lexenv-cookie
lexenv
)))
(
make-cookie
:speed
(
or
(
cookie-speed
icookie
)
(
cookie-speed
cookie
))
:space
(
or
(
cookie-space
icookie
)
(
cookie-space
cookie
))
:safety
(
or
(
cookie-safety
icookie
)
(
cookie-safety
cookie
))
:cspeed
(
or
(
cookie-cspeed
icookie
)
(
cookie-cspeed
cookie
))
:brevity
(
or
(
cookie-brevity
icookie
)
(
cookie-brevity
cookie
))
:debug
(
or
(
cookie-debug
icookie
)
(
cookie-debug
cookie
)))))
;;;; Flow/DFO/Component hackery:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment