MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / pop

Method pop

cranelift/entity/src/set.rs:174–177  ·  view source on GitHub ↗

Removes and returns the highest-index entity from the set if it exists.

(&mut self)

Source from the content-addressed store, hash-verified

172
173 /// Removes and returns the highest-index entity from the set if it exists.
174 pub fn pop(&mut self) -> Option<K> {
175 let index = self.bitset.pop()?;
176 Some(K::new(index))
177 }
178}
179
180/// An iterator over the elements in an `EntitySet`.

Callers 15

parse_multilineFunction · 0.45
get_decisionMethod · 0.45
pop_frameMethod · 0.45
resolve_global_valueMethod · 0.45
popcntFunction · 0.45
exit_scopeMethod · 0.45
terms_in_cyclesFunction · 0.45
fitsMethod · 0.45

Calls 1

newFunction · 0.50

Tested by 1