MEMSIZE -> MSIZE

This commit is contained in:
Gav Wood 2014-07-09 16:05:07 +01:00
parent 352e751799
commit e128f34b6b

View File

@ -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);