From fa43b5070b9c46c88d725ceb76f61340324d2ea0 Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Mon, 24 Aug 2020 20:13:02 +0200 Subject: Add new compound Signature, Struct and Array types (#3012) Extends the `Type` hash-consing infrastructure to handle type-parameterized and constructed types introduced in the typed function references and GC proposals. This should be a non-functional change since the new types are not used anywhere yet. Recursive type construction and canonicalization is also left as future work. Co-authored-by: Thomas Lively --- src/tools/wasm2c-wrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/wasm2c-wrapper.h') diff --git a/src/tools/wasm2c-wrapper.h b/src/tools/wasm2c-wrapper.h index 91971c68b..6ea473d7a 100644 --- a/src/tools/wasm2c-wrapper.h +++ b/src/tools/wasm2c-wrapper.h @@ -164,7 +164,7 @@ int main(int argc, char** argv) { }; ret += wasm2cSignature(result); - if (func->sig.params.isMulti()) { + if (func->sig.params.isTuple()) { for (const auto& param : func->sig.params) { ret += wasm2cSignature(param); } -- cgit v1.2.3