Function wasmer_vm::vmcontext::memory32_atomic_check32

source ·
pub(crate) unsafe fn memory32_atomic_check32(
    mem: &VMMemoryDefinition,
    dst: u32,
    val: u32,
) -> Result<u32, Trap>
Expand description

Perform the memory32.atomic.check32 operation for the memory. Return 0 if same, 1 if different

§Errors

Returns a Trap error if the memory range is out of bounds or 32bits unligned.

§Safety

memory access is unsafe