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)
| 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) { |
no outgoing calls
no test coverage detected