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

Class GapCursor

src/internal/allocator/split.rs:600–606  ·  view source on GitHub ↗

Cursor which incrementally checks for interference as the split region grows.

Source from the content-addressed store, hash-verified

598 // Cursor which incrementally checks for interference as the split
599 // region grows.
600 struct GapCursor<'a, R: RegInfo> {
601 cursor: InterferenceCursor<'a, R>,
602 splitter: &'a Splitter,
603 virt_regs: &'a VirtRegs,
604 left: usize,
605 right: usize,
606 }
607 impl<'a, R: RegInfo> GapCursor<'a, R> {
608 fn advance_left(
609 &mut self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected