fix tee_local semantic
This commit is contained in:
1 parent
c644578d8b
commit
e0d9eeb51f
2 files changed
+2
-2
No files matched your search
@@ -593,7 +593,7 @@ eval store FunctionInstance { funcType, moduleInstance, code = Function { localT
|
||||
return $ Done ctx { stack = rest, locals = locals ctx // [(fromIntegral i, v)] }
|
||||
step ctx@EvalCtx{ locals = ls, stack = (v:rest) } (TeeLocal i) =
|
||||
return $ Done ctx {
|
||||
stack = (ls ! fromIntegral i) : rest,
|
||||
stack = v : rest,
|
||||
locals = locals ctx // [(fromIntegral i, v)]
|
||||
}
|
||||
step ctx (GetGlobal i) = do
|
||||
|
||||
Reference in new issue
Block a user