std.wasm: add Opcode.prefixed and make PrefixedOpcode nonexhaustive
1 files changed, 3 insertions(+), 0 deletions(-)
lib
std
lib/std/wasm.zig+3
| ... | ... | @@ -188,6 +188,8 @@ pub const Opcode = enum(u8) { |
| 188 | 188 | i64_extend8_s = 0xC2, |
| 189 | 189 | i64_extend16_s = 0xC3, |
| 190 | 190 | i64_extend32_s = 0xC4, |
| 191 | |
| 192 | prefixed = 0xFC, |
| 191 | 193 | _, |
| 192 | 194 | }; |
| 193 | 195 | |
| ... | ... | @@ -232,6 +234,7 @@ pub const PrefixedOpcode = enum(u8) { |
| 232 | 234 | table_grow = 0x0F, |
| 233 | 235 | table_size = 0x10, |
| 234 | 236 | table_fill = 0x11, |
| 237 | _, |
| 235 | 238 | }; |
| 236 | 239 | |
| 237 | 240 | /// Enum representing all Wasm value types as per spec: |