mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
MEMSIZE -> MSIZE
This commit is contained in:
parent
352e751799
commit
e128f34b6b
@ -482,11 +482,11 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s)
|
||||
requireSize(1);
|
||||
requireDeposit(0, 1);
|
||||
|
||||
m_asm.append(Instruction::MEMSIZE);
|
||||
m_asm.append(Instruction::MSIZE);
|
||||
m_asm.append(u256(0));
|
||||
m_asm.append(u256(1));
|
||||
m_asm.append(code[0].m_asm, 1);
|
||||
m_asm.append(Instruction::MEMSIZE);
|
||||
m_asm.append(Instruction::MSIZE);
|
||||
m_asm.append(Instruction::ADD);
|
||||
m_asm.append(Instruction::SUB);
|
||||
m_asm.append(Instruction::MSTORE8);
|
||||
|
Loading…
Reference in New Issue
Block a user