diff options
Diffstat (limited to 'src/tools/spec-wrapper.h')
-rw-r--r-- | src/tools/spec-wrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/spec-wrapper.h b/src/tools/spec-wrapper.h index 2bad602f2..c6b6cc9c9 100644 --- a/src/tools/spec-wrapper.h +++ b/src/tools/spec-wrapper.h @@ -32,7 +32,7 @@ static std::string generateSpecWrapper(Module& wasm) { exp->name.str + "\" "; for (Type param : func->sig.params.expand()) { // zeros in arguments TODO more? - switch (param) { + switch (param.getSingle()) { case Type::i32: ret += "(i32.const 0)"; break; |