literal-info-slot ( slot object -- info/f )


Vocabulary
compiler.tree.propagation.slots

Inputs
slotan integer
objectan object


Outputs
info/fvalue-info or f


Word description
literal-info-slot makes an unsafe call to 'slot'. Check that the layout is up to date to avoid accessing the wrong slot during a compilation unit where reshaping took place. This could happen otherwise because the 'slots' word property would reflect the new layout, but instances in the heap would use the old layout since instances are updated immediately after compilation.

Definition