MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / AllocationUnitKind

Enum AllocationUnitKind

src/allocation_unit.rs:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84/// Expanded form of `AllocationUnit` as an enum.
85#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
86pub(crate) enum AllocationUnitKind {
87 Reg(RegUnit),
88 SpillSlot(SpillSlot),
89}
90
91impl fmt::Debug for AllocationUnit {
92 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected