Add using literal loading
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
8c02dbd672
commit
05c095ccfe
7 changed files with 162 additions and 1 deletions
|
|
@ -179,6 +179,13 @@ pub fn execute(vm: &VMInstructions, global_context: &Context) -> Result<String,
|
|||
|
||||
scopes.insert_into_scope(value_ident, value);
|
||||
}
|
||||
Instruction::LoadLiteralToSlot {
|
||||
source: _,
|
||||
value,
|
||||
slot,
|
||||
} => {
|
||||
scopes.insert_into_slot(*slot, value.clone());
|
||||
}
|
||||
}
|
||||
|
||||
ip += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue