aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2016-04-04 19:18:24 +0800
committerDimitry <dimitry@ethdev.com>2016-04-04 19:18:24 +0800
commit98165100658bc4f29e6194f0c5ede6e5b9d516f5 (patch)
tree31e3b6413c2928e527ecc03307f08818984dcd33 /libsolidity/codegen
parent858c41260d4cec26ba38ea3bd2ef71dcede63f7c (diff)
downloaddexon-solidity-98165100658bc4f29e6194f0c5ede6e5b9d516f5.tar
dexon-solidity-98165100658bc4f29e6194f0c5ede6e5b9d516f5.tar.gz
dexon-solidity-98165100658bc4f29e6194f0c5ede6e5b9d516f5.tar.bz2
dexon-solidity-98165100658bc4f29e6194f0c5ede6e5b9d516f5.tar.lz
dexon-solidity-98165100658bc4f29e6194f0c5ede6e5b9d516f5.tar.xz
dexon-solidity-98165100658bc4f29e6194f0c5ede6e5b9d516f5.tar.zst
dexon-solidity-98165100658bc4f29e6194f0c5ede6e5b9d516f5.zip
enable solidity test
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/ArrayUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ArrayUtils.cpp b/libsolidity/codegen/ArrayUtils.cpp
index bbb01c7d..c06d83e2 100644
--- a/libsolidity/codegen/ArrayUtils.cpp
+++ b/libsolidity/codegen/ArrayUtils.cpp
@@ -66,7 +66,7 @@ void ArrayUtils::copyArrayToStorage(ArrayType const& _targetType, ArrayType cons
{
// increment source pointer to point to data
m_context << solidity::Instruction::SWAP1 << u256(0x20);
- m_context << solidity::Instruction::ADD << solidity::Instruction::SWAP1;
+ m_context << solidity::Instruction::ADD << Instruction::SWAP1;
}
// stack: target_ref source_ref source_length