Prevent >8 bit alignment specifier in Wasm store instruction, which is not allowed

This commit is contained in:
Brian Carroll 2021-12-08 21:42:48 +00:00
parent 760f4c0ed4
commit 8a1a164544

View file

@ -706,7 +706,7 @@ impl<'a> WasmBackend<'a> {
_ => {
self.code_builder.get_local(local_id);
self.code_builder.i64_const(tag_id as i64);
self.code_builder.i64_store(tag_id_align, tag_id_offset);
self.code_builder.i64_store(Align::Bytes8, tag_id_offset);
}
}
}