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

Method to_bitset

pulley/src/regs.rs:248–250  ·  view source on GitHub ↗

Convert a `UpperRegSet` into a `ScalarBitSet`.

(self)

Source from the content-addressed store, hash-verified

246
247 /// Convert a `UpperRegSet` into a `ScalarBitSet`.
248 pub fn to_bitset(self) -> ScalarBitSet<u16> {
249 self.bitset
250 }
251}
252
253impl<R: Reg> From<ScalarBitSet<u16>> for UpperRegSet<R> {

Callers 1

encodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected