bump wasmparser to 0.44.0 + fix error due to change wasmparser operator names

This commit is contained in:
Patrick Ventuzelo
2019-12-10 11:57:21 +01:00
parent 63b69a8e6c
commit 0e2f7600b2
3 changed files with 69 additions and 77 deletions

View File

@@ -821,8 +821,8 @@ where
Operator::Store { ty: I64, memarg } | Operator::Store { ty: F64, memarg } => {
ctx.store64(memarg.offset)?
}
Operator::GetGlobal(idx) => ctx.get_global(idx)?,
Operator::SetGlobal(idx) => ctx.set_global(idx)?,
Operator::GlobalGet(idx) => ctx.get_global(idx)?,
Operator::GlobalSet(idx) => ctx.set_global(idx)?,
Operator::Select => {
ctx.select()?;
}