Update the wasm-tools family of crates (#5010)

* Update the wasm-tools family of crates

Only minor updates here, mostly internal changes and no binary-related
changes today.

* Fix test expectation
This commit is contained in:
Alex Crichton
2022-10-04 16:26:22 -05:00
committed by GitHub
parent d986b3cbc2
commit 2607590d8c
6 changed files with 99 additions and 57 deletions

View File

@@ -2718,22 +2718,22 @@ impl Compiler<'_, '_> {
fn i32_load8u(&mut self, mem: &Memory) {
self.instruction(LocalGet(mem.addr.idx));
self.instruction(I32Load8_U(mem.memarg(0)));
self.instruction(I32Load8U(mem.memarg(0)));
}
fn i32_load8s(&mut self, mem: &Memory) {
self.instruction(LocalGet(mem.addr.idx));
self.instruction(I32Load8_S(mem.memarg(0)));
self.instruction(I32Load8S(mem.memarg(0)));
}
fn i32_load16u(&mut self, mem: &Memory) {
self.instruction(LocalGet(mem.addr.idx));
self.instruction(I32Load16_U(mem.memarg(1)));
self.instruction(I32Load16U(mem.memarg(1)));
}
fn i32_load16s(&mut self, mem: &Memory) {
self.instruction(LocalGet(mem.addr.idx));
self.instruction(I32Load16_S(mem.memarg(1)));
self.instruction(I32Load16S(mem.memarg(1)));
}
fn i32_load(&mut self, mem: &Memory) {