diff options
-rw-r--r-- | CodeFragment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CodeFragment.cpp b/CodeFragment.cpp index 47c83e63..d19d7509 100644 --- a/CodeFragment.cpp +++ b/CodeFragment.cpp @@ -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); |