We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f60bba7 commit 0ec4dfdCopy full SHA for 0ec4dfd
test/utils/fizzy_engine.cpp
@@ -136,6 +136,7 @@ WasmEngine::Result FizzyEngine::execute(
136
{
137
static_assert(sizeof(uint64_t) == sizeof(Value));
138
const auto first_arg = reinterpret_cast<const Value*>(args.data());
139
+ assert(args.size() == m_instance->module.get_function_type(static_cast<uint32_t>(func_ref)).inputs.size());
140
const auto status = fizzy::execute(*m_instance, static_cast<uint32_t>(func_ref), first_arg);
141
if (status.trapped)
142
return {true, std::nullopt};
0 commit comments