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

Method aligned

cranelift/codegen/src/ir/memflags.rs:329–331  ·  view source on GitHub ↗

Test if the `aligned` flag is set. By default, Cranelift memory instructions work with any unaligned effective address. If the `aligned` flag is set, the instruction is permitted to trap or return a wrong result if the effective address is misaligned.

(self)

Source from the content-addressed store, hash-verified

327 /// `aligned` flag is set, the instruction is permitted to trap or return a wrong result if the
328 /// effective address is misaligned.
329 pub const fn aligned(self) -> bool {
330 self.flags.aligned()
331 }
332
333 /// Set the `aligned` flag.
334 pub fn set_aligned(&mut self) {

Callers 3

checked_loadMethod · 0.45
checked_storeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected