pr 40
This commit is contained in:
@@ -6,10 +6,12 @@ use super::ids::{ConstId, FieldId, FunctionId, TypeId, ValueId};
|
||||
pub enum Instr {
|
||||
/// Placeholder for constant loading.
|
||||
PushConst(ConstId),
|
||||
/// Push a bounded value (0..0xFFFF).
|
||||
PushBounded(u32),
|
||||
/// Placeholder for function calls.
|
||||
Call(FunctionId, u32),
|
||||
/// Host calls (syscalls).
|
||||
HostCall(u32),
|
||||
/// Host calls (syscalls). (id, return_slots)
|
||||
HostCall(u32, u32),
|
||||
/// Variable access.
|
||||
GetLocal(u32),
|
||||
SetLocal(u32),
|
||||
|
||||
Reference in New Issue
Block a user