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

Method remove

src/entity/set.rs:103–106  ·  view source on GitHub ↗
(&mut self, entity: T)

Source from the content-addressed store, hash-verified

101 #[inline]
102 #[track_caller]
103 pub fn remove(&mut self, entity: T) {
104 let (idx, bit) = Self::index(entity);
105 self.storage[idx] &= !(1 << bit);
106 }
107
108 /// Adds all elements from `other` to this set.
109 ///

Callers 15

make_unavailableMethod · 0.45
divertMethod · 0.45
assignMethod · 0.45
evictMethod · 0.45
runMethod · 0.45
process_instMethod · 0.45
process_editMethod · 0.45
clear_spillslotMethod · 0.45
compute_entry_statesMethod · 0.45
clobber_unitMethod · 0.45
def_valueMethod · 0.45
process_editMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected