Skip to content

Commit

Permalink
Mark invoke_function with inline
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Oct 5, 2020
1 parent a2dd39b commit d7d923f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fizzy/execute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ void branch(const Code& code, OperandStack& stack, const Instr*& pc, const uint8
}

template <class F>
bool invoke_function(const FuncType& func_type, const F& func, Instance& instance,
inline bool invoke_function(const FuncType& func_type, const F& func, Instance& instance,
OperandStack& stack, int depth) noexcept
{
const auto num_args = func_type.inputs.size();
Expand Down

0 comments on commit d7d923f

Please sign in to comment.