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

Method byte_mask

cranelift/codegen/meta/src/cdsl/settings.rs:61–66  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

59 }
60
61 fn byte_mask(&self) -> u8 {
62 match self.specific {
63 SpecificSetting::Bool(BoolSetting { bit_offset, .. }) => 1 << bit_offset,
64 _ => panic!("byte_for_value shouldn't be used for non-boolean settings."),
65 }
66 }
67}
68
69#[derive(Hash, PartialEq, Eq, Copy, Clone)]

Callers 1

layoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected