aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-07-09 23:05:07 +0800
committerGav Wood <i@gavwood.com>2014-07-09 23:05:07 +0800
commite128f34b6ba7b3dd2337fde54a2cf1e16489de1e (patch)
treefa2e8f6cc90c39817b59433122ecf30498c8e20a
parent352e75179999d6de562b810ccffd874c0fb4bc66 (diff)
downloaddexon-solidity-e128f34b6ba7b3dd2337fde54a2cf1e16489de1e.tar.gz
dexon-solidity-e128f34b6ba7b3dd2337fde54a2cf1e16489de1e.tar.zst
dexon-solidity-e128f34b6ba7b3dd2337fde54a2cf1e16489de1e.zip
MEMSIZE -> MSIZE
-rw-r--r--CodeFragment.cpp4
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);