Handbook
Glossary
insert-conversions ( cfg -- )
Vocabulary
compiler
.
cfg
.
representations
.
rewrite
Inputs
cfg
a
cfg
Outputs
None
Word description
The last step in
compiler
.
cfg
.
representations
. Here instructions such as
##shl-imm
and
##shr-imm
are inserted to convert between tagged and untagged value types.
Definition
USING:
compiler.cfg.rpo
kernel
namespaces
;
IN:
compiler.cfg.representations.rewrite
:
insert-conversions
( cfg -- )
H{
}
clone
alternatives
set
V{
}
clone
renaming-set
set
[
conversions-for-block
]
simple-optimization
;