Function agb::sync::memory_read_hint

source ·
pub fn memory_read_hint<T>(val: *const T)
Expand description

Marks that a pointer is read without actually reading from this.

This uses an asm! instruction that marks the parameter as being read, requiring the compiler to treat this function as if anything could be done to it.