Skip to content

Commit

Permalink
Update lib/fizzy/execute.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed May 21, 2022
1 parent d30f8c6 commit c0abd7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fizzy/execute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ inline bool invoke_function(const FuncType& func_type, uint32_t func_idx, Instan
stack.drop(num_args);

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

0 comments on commit c0abd7b

Please sign in to comment.