Skip to content

Commit c0abd7b

Browse files
authored
Update lib/fizzy/execute.cpp
1 parent d30f8c6 commit c0abd7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/fizzy/execute.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ inline bool invoke_function(const FuncType& func_type, uint32_t func_idx, Instan
489489
stack.drop(num_args);
490490

491491
// Push back the result
492+
// NOTE: validation ensures there are at most 1 output values
492493
assert(func_type.outputs.size() == (ret.has_value ? 1 : 0));
493494
if (ret.has_value)
494495
stack.push(ret.value);

0 commit comments

Comments
 (0)