Same deal as for spilling. Place an EncCursor in the context and use that to reference into the IR function when necessary.