Merge pull request #2592 from ethereum/lll-simplify

LLL: remove useless code
This commit is contained in:
Yoichi Hirai 2017-07-19 11:47:21 +02:00 committed by GitHub
commit 3ad326beba

View File

@ -412,11 +412,7 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s)
else if (c_instructions.count(us))
{
auto it = c_instructions.find(us);
int ea = instructionInfo(it->second).args;
if (ea >= 0)
requireSize(ea);
else
requireMinSize(-ea);
requireSize(instructionInfo(it->second).args);
for (unsigned i = code.size(); i; --i)
m_asm.append(code[i - 1].m_asm, 1);