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

Method bits

cranelift/codegen/src/isa/pulley_shared/mod.rs:52–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50
51impl PointerWidth {
52 pub fn bits(self) -> u8 {
53 match self {
54 PointerWidth::PointerWidth32 => 32,
55 PointerWidth::PointerWidth64 => 64,
56 }
57 }
58
59 pub fn bytes(self) -> u8 {
60 self.bits() / 8

Callers 4

bytesMethod · 0.45
word_bitsMethod · 0.45
compute_arg_locsMethod · 0.45
print_with_stateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected