[ewasm] Clean up opcodes/builtins in the binary encoder

Also make sure that `i32.drop/i64.drop` won't silently drop its arguments, as they may have side-effects.
This commit is contained in:
Alex Beregszaszi
2020-12-01 12:50:54 +00:00
parent a29a7ad680
commit 04cf4867fe
6 changed files with 30 additions and 44 deletions
@@ -19,4 +19,4 @@
// )
//
// Binary:
// 0061736d01000000010401600000020100030201000503010001060100070a01066d656d6f727902000a0801060002401a0b0b
// 0061736d01000000010401600000020100030201000503010001060100070a01066d656d6f727902000a0d010b000240420042017c1a0b0b