Modifier and Type | Class and Description |
---|---|
public static record | Binding.
ALLOCATE([size], [alignment]) Creates a new MemorySegment with the give [size] and [alignment], and pushes it onto the operand stack. |
public static record | Binding.
BOX_ADDRESS() Pops a 'long' from the operand stack, converts it to a 'MemorySegment', with the given size and memory scope (either the context scope, or the global scope), and pushes that onto the operand stack. |
public static record | Binding.
BUFFER_LOAD([offset into memory region], [type], [width]) Pops a MemorySegment from the operand stack, and then loads [width] bytes from it at [offset into memory region], into a [type]. |
public static record | Binding.
BUFFER_STORE([offset into memory region], [type], [width]) Pops a [type] from the operand stack, then pops a MemorySegment from the operand stack. |
public static class | Binding.
A builder helper class for generating lists of Bindings |
public static enum | Binding.
CAST([fromType], [toType]) Pop a [fromType] from the stack, convert it to [toType], and push the resulting value onto the stack. |
public static record | Binding.
COPY([size], [alignment]) Creates a new MemorySegment with the given [size] and [alignment], and copies contents from a MemorySegment popped from the top of the operand stack into this new buffer, and pushes the new buffer onto the operand stack |
public static interface | |
public static record | Binding.
DUP() Duplicates the value on the top of the operand stack (without popping it!), and pushes the duplicate onto the operand stack |
public static interface | |
public static record | Binding.
SEGMENT_BASE() Pops a MemorySegment from the stack, retrieves the heap base object from it, or null if there is none (See: AbstractMemorySegmentImpl::unsafeGetBase), and pushes the result onto the operand stack. |
public static record | Binding.
SEGMENT_OFFSET([allowHeap]) Pops a MemorySegment from the stack, retrieves the offset from it, (See: AbstractMemorySegmentImpl::unsafeGetOffset), and pushes the result onto the operand stack. |
public static record | Binding.
ShiftLeft([shiftAmount]) Shifts the Bytes on the top of the operand stack (64 bit unsigned). |
public static record | Binding.
ShiftRight([shiftAmount]) Shifts the Bytes on the top of the operand stack (64 bit unsigned). |
public static record | Binding.
VM_LOAD([storage location], [type]) Loads a [type] from [storage location], and pushes it onto the operand stack. |
public static record | Binding.
VM_STORE([storage location], [type]) Pops a [type] from the operand stack, and moves it to [storage location] The [type] must be one of byte, short, char, int, long, float, or double. |
Modifier and Type | Method and Description |
---|---|
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding | |
private static void | |
private static void | |
private static void | |
public static Binding. | |
public static Binding. | |
public void | interpret(Deque<Object> stack, BindingInterpreter.
|
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public static Binding. | |
public void | |
public static Binding. | |
public static Binding. |