mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixup! Simple peephole optimizer that is activated even if not requested.
This commit is contained in:
parent
739dabff8b
commit
390ba085b6
@ -81,6 +81,8 @@ struct JumpToNext
|
|||||||
_in[0].data() == _in[2].data()
|
_in[0].data() == _in[2].data()
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
if (_in[1] == Instruction::JUMPI)
|
||||||
|
*_out = AssemblyItem(Instruction::POP, _in[1].location());
|
||||||
*_out = _in[2];
|
*_out = _in[2];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user