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
d1247662
Commit
d1247662
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some broken declarations and the file header comment.
parent
c92e8e92
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/locall.lisp
+7
-6
7 additions, 6 deletions
compiler/locall.lisp
with
7 additions
and
6 deletions
compiler/locall.lisp
+
7
−
6
View file @
d1247662
...
...
@@ -9,9 +9,10 @@
;;;
;;; This file implements local call analysis. A local call is a function
;;; call between functions being compiled at the same time. If we can tell at
;;; compile time that such a call is legal, then we modify the flow graph to
;;; represent the control transfers previously implicit in the call. This
;;; change allows us to do inter-routine flow analysis.
;;; compile time that such a call is legal, then we change the combination
;;; to call the correct lambda, mark it as local, and add this link to our call
;;; graph. Once a call is local, it is then eligible for let conversion, which
;;; places the body of the function inline.
;;;
;;; We cannot always do a local call even when we do have the function being
;;; called. Local call can be explicitly disabled by a NOTINLINE declaration.
...
...
@@ -342,8 +343,8 @@
;;; we give a warning and mark the Ref as :Notinline to remove it from future
;;; consideration. If the argcount is O.K. then we just convert it.
;;;
(
proclaim
'
(
function
convert-lambda-call
(
ref
combination
lambda
)
void
))
(
defun
convert-lambda-call
(
ref
call
fun
)
(
declare
(
type
ref
ref
)
(
type
combination
call
)
(
type
clambda
fun
))
(
let
((
nargs
(
length
(
lambda-vars
fun
)))
(
call-args
(
length
(
combination-args
call
))))
(
cond
((
=
call-args
nargs
)
...
...
@@ -407,9 +408,9 @@
;;; new function and the entry point immediately so that everything gets
;;; converted during the single pass.
;;;
(
proclaim
'
(
function
convert-hairy-fun-entry
(
ref
combination
lambda
list
list
list
)))
(
defun
convert-hairy-fun-entry
(
ref
call
entry
vars
ignores
args
)
(
declare
(
list
vars
ignores
args
)
(
type
ref
ref
)
(
type
combination
call
)
(
type
clambda
entry
))
(
let
((
new-fun
(
with-ir1-environment
call
(
ir1-convert-lambda
...
...
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