mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
LLL: replace (1 0 sub) with literal value
This commit is contained in:
parent
4f1b5d26f7
commit
5a981b59c3
@ -547,9 +547,7 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s)
|
|||||||
requireDeposit(0, 1);
|
requireDeposit(0, 1);
|
||||||
|
|
||||||
m_asm.append(code[0].m_asm, 1);
|
m_asm.append(code[0].m_asm, 1);
|
||||||
m_asm.append((u256)1);
|
m_asm.append(bigint(u256(0) - 1);
|
||||||
m_asm.append((u256)0);
|
|
||||||
m_asm.append(Instruction::SUB);
|
|
||||||
m_asm.append(Instruction::SUB);
|
m_asm.append(Instruction::SUB);
|
||||||
}
|
}
|
||||||
else if (us == "SEQ")
|
else if (us == "SEQ")
|
||||||
|
Loading…
Reference in New Issue
Block a user