mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Only analyze memory in DataFlowAnalyzer if it is needed in the optimizer step.
This commit is contained in:
@@ -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))
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user