Add LiteralKind to Dialect.literalArguments

Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
This commit is contained in:
Alex Beregszaszi
2020-08-05 11:37:00 +01:00
co-authored by Daniel Kirchner
parent b8fd409f7f
commit f6a57af809
10 changed files with 51 additions and 55 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ NoOutputEVMDialect::NoOutputEVMDialect(EVMDialect const& _copyFrom):
for (size_t j = 0; j < _call.arguments.size(); j++)
{
size_t const i = _call.arguments.size() - j - 1;
if (!(fun.second.literalArguments && (*fun.second.literalArguments)[i]))
if (!fun.second.literalArgument(i))
{
_visitExpression(_call.arguments[i]);
visited++;