mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Superspeed.
This commit is contained in:
parent
3e5396598b
commit
111eaa1e9b
@ -103,9 +103,9 @@ void CommonSubexpressionEliminator::visit(Expression& _e)
|
||||
for (auto const& [variable, value]: m_value)
|
||||
{
|
||||
assertThrow(value.value, OptimizerException, "");
|
||||
assertThrow(inScope(variable), OptimizerException, "");
|
||||
if (SyntacticallyEqual{}(_e, *value.value))
|
||||
{
|
||||
assertThrow(inScope(variable), OptimizerException, "");
|
||||
_e = Identifier{locationOf(_e), variable};
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user