Modify parser and optimizer.

This commit is contained in:
chriseth
2019-05-20 17:32:56 +02:00
parent 46d9df7574
commit 1dc15d5864
20 changed files with 117 additions and 61 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ public:
{
YulString varName = _varDecl.variables.front().name;
if (m_value.count(varName))
m_expressionCodeCost[varName] = CodeCost::codeCost(*m_value[varName]);
m_expressionCodeCost[varName] = CodeCost::codeCost(m_dialect, *m_value[varName]);
}
}