summaryrefslogtreecommitdiff
path: root/crates/parser
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2023-12-17 23:38:13 +0100
committerHenry Gressmann <mail@henrygressmann.de>2023-12-17 23:38:13 +0100
commitee869abc8f7383b198f2033f940fdd5aa8839fed (patch)
treea411c033eebe6d65708f699178d20ffa58c45a7b /crates/parser
parentfc97f2cab27658b81ef9409b3f388226a4745cee (diff)
chore: improve label handling
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser')
-rw-r--r--crates/parser/src/conversion.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/parser/src/conversion.rs b/crates/parser/src/conversion.rs
index d921e35..269bb66 100644
--- a/crates/parser/src/conversion.rs
+++ b/crates/parser/src/conversion.rs
@@ -81,10 +81,7 @@ pub(crate) fn convert_blocktype(blocktype: wasmparser::BlockType) -> BlockArgs {
// TODO: maybe solve this differently so we can support 128-bit values
// without having to increase the size of the WasmValue enum
Type(ty) => BlockArgs::Type(convert_valtype(&ty)),
-
- // Wasm 2.0
- FuncType(_ty) => unimplemented!(),
- // FuncType(ty) => BlockArgs::FuncType(*ty),
+ FuncType(ty) => BlockArgs::FuncType(ty),
}
}