Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl-copy
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
Richard M Kreuter
cmucl-copy
Commits
bcc832e8
Commit
bcc832e8
authored
13 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Improve type progagation for LOAD-TIME-VALUE.
Patch from Helmut Eller, cmucl-imp 2011-06-11.
parent
69654518
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
compiler/ltv.lisp
+3
-3
3 additions, 3 deletions
compiler/ltv.lisp
compiler/main.lisp
+8
-5
8 additions, 5 deletions
compiler/main.lisp
general-info/release-20c.txt
+1
-0
1 addition, 0 deletions
general-info/release-20c.txt
with
12 additions
and
8 deletions
compiler/ltv.lisp
+
3
−
3
View file @
bcc832e8
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ltv.lisp,v 1.
4
201
0
/0
4/19 15:08:20
rtoy
Rel
$"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ltv.lisp,v 1.
5
201
1
/0
8/21 15:16:01
rtoy
Exp
$"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -35,10 +35,10 @@
(
compile-load-time-value
(
if
read-only-p
form
`
(
make-value-cell
,
form
)))
(
declare
(
ignore
type
))
(
ir1-convert
start
cont
(
if
read-only-p
`
(
%load-time-value
',handle
)
`
(
truly-the
,
(
type-specifier
type
)
(
%load-time-value
',handle
))
`
(
value-cell-ref
(
%load-time-value
',handle
)))))
(
let
((
value
(
handler-case
(
eval
form
)
...
...
This diff is collapsed.
Click to expand it.
compiler/main.lisp
+
8
−
5
View file @
bcc832e8
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.16
0
2011/0
3
/2
8
1
2:07:34
rtoy Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.16
1
2011/0
8
/2
1
1
5:16:01
rtoy Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -1246,10 +1246,13 @@ in the user USER-INFO slot of STREAM-SOURCE-LOCATIONs.")
(
let
((
lambda
(
compile-load-time-stuff
form
name
t
)))
(
values
(
fasl-dump-load-time-value-lambda
lambda
*compile-object*
)
(
let
((
type
(
leaf-type
lambda
)))
(
if
(
function-type-p
type
)
(
single-value-type
(
function-type-returns
type
))
*wild-type*
)))))
(
or
(
let
((
return
(
lambda-return
lambda
)))
(
if
return
(
single-value-type
(
return-result-type
return
))))
(
let
((
type
(
leaf-type
lambda
)))
(
if
(
function-type-p
type
)
(
single-value-type
(
function-type-returns
type
))))
*wild-type*
))))
;;; COMPILE-MAKE-LOAD-FORM-INIT-FORMS -- internal.
;;;
...
...
This diff is collapsed.
Click to expand it.
general-info/release-20c.txt
+
1
−
0
View file @
bcc832e8
...
...
@@ -57,6 +57,7 @@ New in this release:
- CMUCL no longer exits if you specify a core file with an
executable image. A warning is printed instead and the core
file is used.
- Improve type propagation for LOAD-TIME-VALUE.
* ANSI compliance fixes:
- Fixes for signaling errors with READ-CHAR and READ-BYTE
...
...
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