From 8e42abe91bd3fd6b1c641e1dfa8c467157c35e4a Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Wed, 27 Mar 2024 22:35:16 -0700 Subject: [PATCH] Actually support V128 types in frontend. --- src/frontend.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontend.rs b/src/frontend.rs index c86aae0..1fef966 100644 --- a/src/frontend.rs +++ b/src/frontend.rs @@ -679,6 +679,11 @@ impl LocalTracker { ListRef::default(), types, )), + Type::V128 => body.add_value(ValueDef::Operator( + Operator::V128Const { value: 0 }, + ListRef::default(), + types, + )), _ => todo!("unsupported type: {:?}", ty), }; body.append_to_block(at_block, val);