Handbook
Glossary
prepare-slot-access ( #call -- tuple-values outputs slot-values )
Vocabulary
compiler
.
tree
.
tuple-unboxing
Inputs
#call
an
object
Outputs
tuple-values
an
object
outputs
an
object
slot-values
an
object
Definition
USING:
accessors
arrays
assocs
compiler.tree.escape-analysis.allocations
kernel
namespaces
sequences
;
IN:
compiler.tree.tuple-unboxing
:
prepare-slot-access
( #call -- tuple-values outputs slot-values )
[
in-d>>
flatten-values
]
[
out-d>>
flatten-values
]
[
out-d>>
first
slot-accesses
get
at
[
slot#>>
]
[
value>>
]
bi
allocation
nth
1array
flatten-values
]
tri
;