wip istore
This commit is contained in:
parent
3540f48f21
commit
d4ea4aed58
1 changed files with 2 additions and 2 deletions
|
|
@ -237,9 +237,9 @@ impl Vm {
|
|||
// let index = self.local_stack().pop()?;
|
||||
// let array_ref = self.local_stack().pop()?;
|
||||
}
|
||||
ISTORE =>{
|
||||
ISTORE => unsafe{
|
||||
let index = read_u8(&code.opcodes, pc);
|
||||
let value = self.local_stack().pop()?;
|
||||
let value = &*(self.local_stack().pop()?.get());
|
||||
if let Value::I32(int) = value {
|
||||
// TODO local vars
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue