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

Method dequeue

src/internal/allocator/queue.rs:157–159  ·  view source on GitHub ↗

Dequeues the entry with the highest priority from the queue.

(&mut self)

Source from the content-addressed store, hash-verified

155
156 /// Dequeues the entry with the highest priority from the queue.
157 pub fn dequeue(&mut self) -> Option<(VirtRegOrGroup, Stage)> {
158 self.queue.pop().map(Entry::decode)
159 }
160
161 /// Enqueues an entry into the priority queue.
162 pub fn enqueue(&mut self, vreg_or_group: VirtRegOrGroup, stage: Stage, virt_regs: &VirtRegs) {

Callers 1

runMethod · 0.80

Calls 2

mapMethod · 0.80
popMethod · 0.80

Tested by

no test coverage detected