Actually support V128 types in frontend.
This commit is contained in:
parent
6603189fc2
commit
8e42abe91b
|
@ -679,6 +679,11 @@ impl LocalTracker {
|
||||||
ListRef::default(),
|
ListRef::default(),
|
||||||
types,
|
types,
|
||||||
)),
|
)),
|
||||||
|
Type::V128 => body.add_value(ValueDef::Operator(
|
||||||
|
Operator::V128Const { value: 0 },
|
||||||
|
ListRef::default(),
|
||||||
|
types,
|
||||||
|
)),
|
||||||
_ => todo!("unsupported type: {:?}", ty),
|
_ => todo!("unsupported type: {:?}", ty),
|
||||||
};
|
};
|
||||||
body.append_to_block(at_block, val);
|
body.append_to_block(at_block, val);
|
||||||
|
|
Loading…
Reference in a new issue