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

Class GapSegment

src/internal/allocator/split.rs:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71/// Live range segment to be checked against interference.
72#[derive(Debug, Copy, Clone)]
73struct GapSegment {
74 /// Live range for this segment.
75 live_range: LiveRangeSegment,
76
77 /// Value from the original `ValueSegment`.
78 value: Value,
79
80 /// Index of the `SplitGap` corresponding to this segment.
81 gap_idx: u32,
82}
83
84impl InterferenceSegment for GapSegment {
85 fn live_range(&self) -> LiveRangeSegment {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected