Various optimizations for the DataFlowAnalyzer.

This commit is contained in:
Daniel Kirchner
2021-01-12 21:39:20 +01:00
parent e9dcd4f813
commit 625d402dbb
8 changed files with 89 additions and 112 deletions
+1 -1
View File
@@ -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.forward[codeCost.first]));
cand.emplace(make_tuple(codeCost.second * numRef, codeCost.first, m_references[codeCost.first]));
}
return cand;
}