Handbook
Glossary
assert-not-unboxed ( values -- )
Vocabulary
compiler
.
tree
.
tuple-unboxing
Inputs
values
an
object
Outputs
None
Definition
USING:
arrays
compiler.tree.escape-analysis.allocations
kernel
sequences
;
IN:
compiler.tree.tuple-unboxing
:
assert-not-unboxed
( values -- )
dup
array?
[
[
unboxed-allocation
]
any?
]
[
unboxed-allocation
]
if
[
"Unboxing wrong value"
throw
]
when
;