mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2592 from ethereum/lll-simplify
LLL: remove useless code
This commit is contained in:
commit
3ad326beba
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user