Identifier for a stack slot.
Moduleghc-9.10.3GHC2021
GHC.CmmToAsm.Reg.Linear.StackMap
The assignment of virtual registers to stack slots
- 2 types
- 3 values
- Packageghc-9.10.3
- Exports5
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceStackMap.hs
Constructors
StackMapstackMapNextFreeSlot :: !IntThe slots that are still available to be allocated.
stackMapAssignment :: UniqFM Unique StackSlotAssignment of vregs to stack slots.
An empty stack map, with all slots available.
If this vreg unique already has a stack assignment then return the slot number, otherwise allocate a new slot, and update the map.
Return the number of stack slots that were allocated