mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow msize optimization only if it is not present.
This commit is contained in:
@@ -284,7 +284,7 @@ void RedundantAssignEliminator::finalize(
|
||||
{
|
||||
State const state = assignment.second == State::Undecided ? _finalState : assignment.second;
|
||||
|
||||
if (state == State::Unused && MovableChecker{*m_dialect, *assignment.first->value}.movable())
|
||||
if (state == State::Unused && SideEffectsCollector{*m_dialect, *assignment.first->value}.movable())
|
||||
// TODO the only point where we actually need this
|
||||
// to be a set is for the for loop
|
||||
m_pendingRemovals.insert(assignment.first);
|
||||
|
||||
Reference in New Issue
Block a user