Enum cranelift_codegen::ir::HeapStyle[][src]

pub enum HeapStyle {
    Dynamic {
        bound_gv: GlobalValue,
    },
    Static {
        bound: Imm64,
    },
}

Style of heap including style-specific information.

Variants

A dynamic heap can be relocated to a different base address when it is grown.

Fields of Dynamic

Global value providing the current bound of the heap in bytes.

A static heap has a fixed base address and a number of not-yet-allocated pages before the guard pages.

Fields of Static

Heap bound in bytes. The guard pages are allocated after the bound.

Trait Implementations

impl Clone for HeapStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for HeapStyle

impl Sync for HeapStyle