Skip to content

Commit 530cb3d

Browse files
committed
eof: Enable jumpdest remover optimiser for EOF.
1 parent 4f23c18 commit 530cb3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libevmasm/Assembly.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -832,8 +832,8 @@ std::map<u256, u256> const& Assembly::optimiseInternal(
832832
m_evmVersion
833833
}.optimise();
834834
}
835-
// TODO: verify this for EOF.
836-
if (_settings.runJumpdestRemover && !m_eofVersion.has_value())
835+
836+
if (_settings.runJumpdestRemover)
837837
{
838838
for (auto& codeSection: m_codeSections)
839839
{

0 commit comments

Comments
 (0)