diff options
Diffstat (limited to 'src/tools/js-wrapper.h')
-rw-r--r-- | src/tools/js-wrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/js-wrapper.h b/src/tools/js-wrapper.h index 90453eb35..cb5c0bd5b 100644 --- a/src/tools/js-wrapper.h +++ b/src/tools/js-wrapper.h @@ -49,7 +49,7 @@ static std::string generateJSWrapper(Module& wasm) { auto* func = wasm.getFunctionOrNull(exp->value); if (!func) continue; // something exported other than a function auto bad = false; // check for things we can't support - for (WasmType param : func->params) { + for (Type param : func->params) { if (param == i64) bad = true; } if (func->result == i64) bad = true; @@ -62,7 +62,7 @@ static std::string generateJSWrapper(Module& wasm) { } ret += std::string("instance.exports.") + exp->name.str + "("; bool first = true; - for (WasmType param : func->params) { + for (Type param : func->params) { WASM_UNUSED(param); // zeros in arguments TODO more? if (first) { |