Combine value and loop depth.

This commit is contained in:
chriseth
2020-01-08 12:25:46 +01:00
parent b5bd4787af
commit b8488597da
9 changed files with 38 additions and 35 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ public:
{
YulString varName = _varDecl.variables.front().name;
if (m_value.count(varName))
m_expressionCodeCost[varName] = CodeCost::codeCost(m_dialect, *m_value[varName]);
m_expressionCodeCost[varName] = CodeCost::codeCost(m_dialect, *m_value[varName].value);
}
}