summaryrefslogtreecommitdiff
path: root/src/tools/spec-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/spec-wrapper.h')
-rw-r--r--src/tools/spec-wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/spec-wrapper.h b/src/tools/spec-wrapper.h
index bcdf2e113..beada1b4b 100644
--- a/src/tools/spec-wrapper.h
+++ b/src/tools/spec-wrapper.h
@@ -30,7 +30,7 @@ static std::string generateSpecWrapper(Module& wasm) {
}
ret += std::string("(invoke \"hangLimitInitializer\") (invoke \"") +
exp->name.str + "\" ";
- for (Type param : func->params) {
+ for (Type param : func->sig.params.expand()) {
// zeros in arguments TODO more?
switch (param) {
case i32: