fixup! Simple peephole optimizer that is activated even if not requested.

This commit is contained in:
chriseth 2016-11-11 15:38:56 +01:00
parent 739dabff8b
commit 390ba085b6

View File

@ -81,6 +81,8 @@ struct JumpToNext
_in[0].data() == _in[2].data()
)
{
if (_in[1] == Instruction::JUMPI)
*_out = AssemblyItem(Instruction::POP, _in[1].location());
*_out = _in[2];
return true;
}