ReloadCallback<C> typedef

ReloadCallback<C> = Instruction Function(AllocatedSSA variable, int slotIndex, AssembleContext<C> context)

Callback type for emitting a reload (load from local slot) instruction.

variable is the allocated SSA variable being reloaded (its AllocatedSSA.register is the physical register being loaded into). slotIndex is the same slot index that was assigned when this variable was originally spilled.

Implementation

typedef ReloadCallback<C> = Instruction Function(
    AllocatedSSA variable, int slotIndex, AssembleContext<C> context);