Handbook
Glossary
do-inlining ( #call word -- ? )
Vocabulary
compiler
.
tree
.
propagation
.
inlining
Inputs
#call
a
#call
word
a
word
Outputs
?
a
boolean
Word description
Performs inlining of the word in the #call node. If there's a custom inlining hook, it is permitted to return f, which means that we try the normal inlining heuristic.
Definition
USING:
kernel
namespaces
;
IN:
compiler.tree.propagation.inlining
:
do-inlining
( #call word -- ? )
[
dup
custom-inlining?
[
2dup
inline-custom
]
[
f
]
if
[
2drop
t
]
[
(do-inlining)
]
if
]
with-scope
;