There was an error while loading. Please reload this page.
1 parent d30f8c6 commit c0abd7bCopy full SHA for c0abd7b
1 file changed
lib/fizzy/execute.cpp
@@ -489,6 +489,7 @@ inline bool invoke_function(const FuncType& func_type, uint32_t func_idx, Instan
489
stack.drop(num_args);
490
491
// Push back the result
492
+ // NOTE: validation ensures there are at most 1 output values
493
assert(func_type.outputs.size() == (ret.has_value ? 1 : 0));
494
if (ret.has_value)
495
stack.push(ret.value);
0 commit comments