mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Prevent >8 bit alignment specifier in Wasm store instruction, which is not allowed
This commit is contained in:
parent
760f4c0ed4
commit
8a1a164544
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue