Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2b29a376
Commit
2b29a376
authored
Apr 05, 1995
by
Karl Heuer
Browse files
(byte-compile-inline-expand): Fetch actual bytecode
before inlining a lazy function.
parent
7f4d3657
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lisp/emacs-lisp/byte-opt.el
lisp/emacs-lisp/byte-opt.el
+5
-3
No files found.
lisp/emacs-lisp/byte-opt.el
View file @
2b29a376
...
...
@@ -221,9 +221,11 @@
(
if
(
symbolp
fn
)
(
byte-compile-inline-expand
(
cons
fn
(
cdr
form
)))
(
if
(
byte-code-function-p
fn
)
(
cons
(
list
'lambda
(
aref
fn
0
)
(
list
'byte-code
(
aref
fn
1
)
(
aref
fn
2
)
(
aref
fn
3
)))
(
cdr
form
))
(
progn
(
fetch-bytecode
fn
)
(
cons
(
list
'lambda
(
aref
fn
0
)
(
list
'byte-code
(
aref
fn
1
)
(
aref
fn
2
)
(
aref
fn
3
)))
(
cdr
form
)))
(
if
(
not
(
eq
(
car
fn
)
'lambda
))
(
error
"%s is not a lambda"
name
))
(
cons
fn
(
cdr
form
)))))))
...
...
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