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

Method pointer_bytes

winch/codegen/src/isa/mod.rs:219–222  ·  view source on GitHub ↗

Returns the pointer width of the ISA in bytes.

(&self)

Source from the content-addressed store, hash-verified

217
218 /// Returns the pointer width of the ISA in bytes.
219 fn pointer_bytes(&self) -> u8 {
220 let width = self.triple().pointer_width().unwrap();
221 width.bytes()
222 }
223
224 /// The log2 of the target's page size and alignment.
225 ///

Callers 2

compile_functionMethod · 0.45
compile_functionMethod · 0.45

Implementers 2

mod.rswinch/codegen/src/isa/x64/mod.rs
mod.rswinch/codegen/src/isa/aarch64/mod.rs

Calls 4

unwrapMethod · 0.45
pointer_widthMethod · 0.45
tripleMethod · 0.45
bytesMethod · 0.45

Tested by

no test coverage detected