Skip to content

Commit

Permalink
Change the I64xLeS instruction encoding (#811)
Browse files Browse the repository at this point in the history
Change the u32 field of the I64x2LeS instruction from 0xDD to 0xDA to
match the spec.
  • Loading branch information
adambratschikaye committed Nov 9, 2022
1 parent d865633 commit 290f4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasm-encoder/src/core/code.rs
Expand Up @@ -2331,7 +2331,7 @@ impl Encode for Instruction<'_> {
}
Instruction::I64x2LeS => {
sink.push(0xFD);
0xDDu32.encode(sink);
0xDAu32.encode(sink);
}
Instruction::I64x2GeS => {
sink.push(0xFD);
Expand Down

0 comments on commit 290f4bc

Please sign in to comment.