readSlot

Answer the register holding the latest assigned version of the specified continuation slot. The slots are the arguments, then the locals, then the stack entries. The slots are numbered starting at 1.

This is only public to allow primitives like P_RestartContinuation to be able to fetch the current arguments.

Return

An L2ReadBoxedOperand representing that continuation slot.

Parameters

slotIndex

The index into the continuation's slots.