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

Method pointer_bits

cranelift/codegen/src/isa/mod.rs:271–273  ·  view source on GitHub ↗

Get the width of pointers on this target, in units of bits.

(self)

Source from the content-addressed store, hash-verified

269
270 /// Get the width of pointers on this target, in units of bits.
271 pub fn pointer_bits(self) -> u8 {
272 self.pointer_width.bits()
273 }
274
275 /// Get the width of pointers on this target, in units of bytes.
276 pub fn pointer_bytes(self) -> u8 {

Callers 3

pointer_typeMethod · 0.80

Calls 2

bitsMethod · 0.45
pointer_widthMethod · 0.45

Tested by

no test coverage detected