Fix internal function calls.

This commit is contained in:
chriseth
2019-05-09 17:57:33 +02:00
parent 45ee3fc007
commit 60a42f58a0
3 changed files with 13 additions and 5 deletions
@@ -103,8 +103,6 @@ string IRGenerationContext::variable(Expression const& _expression)
string IRGenerationContext::internalDispatch(size_t _in, size_t _out)
{
// TODO can we limit the generated functions to only those visited
// in the expression context? What about creation / runtime context?
string funName = "dispatch_internal_in_" + to_string(_in) + "_out_" + to_string(_out);
return m_functions->createFunction(funName, [&]() {
Whiskers templ(R"(