Module rustc_const_eval::interpret::memory [−][src]
Expand description
The memory subsystem.
Generally, we use Pointer
to denote memory addresses. However, some operations
have a “size”-like parameter, and they take Scalar
for the address because
if the size is 0, then the pointer can also be a (properly aligned, non-null)
integer. It is crucial that these operations call check_align
before
short-circuiting the empty case!
Structs
A reference to some allocation that was already bounds-checked for the given region and had the on-access machine hooks run.
A reference to some allocation that was already bounds-checked for the given region and had the on-access machine hooks run.
Enums
Used by get_size_and_align
to indicate whether the allocation needs to be live.
The value of a function pointer.