mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Implement references using InvertibleRelation as data structure.
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
for (auto const& codeCost: m_expressionCodeCost)
|
||||
{
|
||||
size_t numRef = m_numReferences[codeCost.first];
|
||||
cand.emplace(make_tuple(codeCost.second * numRef, codeCost.first, m_references[codeCost.first]));
|
||||
cand.emplace(make_tuple(codeCost.second * numRef, codeCost.first, m_references.forward[codeCost.first]));
|
||||
}
|
||||
return cand;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user