Only analyze memory in DataFlowAnalyzer if it is needed in the optimizer step.

This commit is contained in:
chriseth
2022-07-11 15:51:25 +02:00
parent e7c5f04464
commit c12d151834
9 changed files with 56 additions and 37 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ private:
bool _containsMSize,
std::optional<size_t> _expectedExecutionsPerDeployment
):
DataFlowAnalyzer(_dialect, std::move(_functionSideEffects)),
DataFlowAnalyzer(_dialect, MemoryAndStorage::Analyze, std::move(_functionSideEffects)),
m_containsMSize(_containsMSize),
m_expectedExecutionsPerDeployment(std::move(_expectedExecutionsPerDeployment))
{}